changeset 1103:d0f59ca7346f

Fixed sdl detect on systems without sdl installed.
author atmosfear
date Mon, 11 Jun 2001 19:27:15 +0000
parents e97f850f90bf
children 5015360718f4
files configure
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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