summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratmosfear <atmosfear@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-11 19:27:15 +0000
committeratmosfear <atmosfear@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-11 19:27:15 +0000
commitda4ee7e51dc5701ab7ffce7c1cb4a49fe13f7c9a (patch)
treedb58b73ef634ab39c9e7c67453a7658700c4e868
parent5708cc5d7190e933bdc665dc678c8246a16a68a5 (diff)
downloadmpv-da4ee7e51dc5701ab7ffce7c1cb4a49fe13f7c9a.tar.bz2
mpv-da4ee7e51dc5701ab7ffce7c1cb4a49fe13f7c9a.tar.xz
Fixed sdl detect on systems without sdl installed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1104 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 8c77ff9c7b..de72867b53 100755
--- a/configure
+++ b/configure
@@ -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