# HG changeset patch # User atmosfear # Date 992287635 0 # Node ID d0f59ca7346f6bb65f5a418bdbb403a97a478484 # Parent e97f850f90bf0cc706b3dbf6fda61c7ad0456d06 Fixed sdl detect on systems without sdl installed. diff -r e97f850f90bf -r d0f59ca7346f configure --- a/configure Mon Jun 11 18:08:42 2001 +0000 +++ b/configure Mon Jun 11 19:27:15 2001 +0000 @@ -527,6 +527,7 @@ # Atmosfear: added SDL versioncheck and autodetect; removed warnings. _sdl=no +if test ! -z "`$_sdlconfig --version 2>/dev/null`" ; then if $_cc `$_sdlconfig --cflags` $TMPC -o $TMPO `$_sdlconfig --libs` > /dev/null 2>&1 ; then _sdlversion=`$_sdlconfig --version | sed 's/[^0-9]//g'` if test "$_sdlversion" -gt 116 ; then @@ -541,6 +542,7 @@ _sdl=outdated fi fi +fi # Atmosfear: added libcss autodetect _css=no