Fixed sdl detect on systems without sdl installed.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1104 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmosfear 2001-06-11 19:27:15 +00:00
parent 5708cc5d71
commit da4ee7e51d
1 changed files with 2 additions and 0 deletions

2
configure vendored
View File

@ -527,6 +527,7 @@ $_cc $TMPC -o $TMPO -lpthread > /dev/null 2>&1 || \
# 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 @@ if $_cc `$_sdlconfig --cflags` $TMPC -o $TMPO `$_sdlconfig --libs` > /dev/null 2
_sdl=outdated
fi
fi
fi
# Atmosfear: added libcss autodetect
_css=no