1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-18 05:37:04 +00:00

fixed sdl detection (showed outdated even if not detected)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@559 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmosfear 2001-04-21 12:26:29 +00:00
parent 7f9753b103
commit 9614ba33d6

10
configure vendored
View File

@ -399,10 +399,12 @@ $_cc $TMPC -o $TMPO -lpthread &> /dev/null || \
# Atmosfear: added SDL versioncheck and autodetect; removed warnings.
_sdl=no
if test `sdl-config --version | sed s/[=[:punct:]=]//g` -gt 116 ; then
$_cc $TMPC -o $TMPO -L/usr/lib/ -L/usr/local/lib/ -lSDL -lpthread &> /dev/null && _sdl=yes
else
_sdl=outdated
if $_cc $TMPC -o $TMPO -L/usr/lib/ -L/usr/local/lib/ -lSDL -lpthread &> /dev/null ; then
if test `sdl-config --version | sed s/[=[:punct:]=]//g` -gt 116 ; then
_sdl=yes
else
_sdl=outdated
fi
fi
_termcap=no