comparison configure @ 558:30d9f61e9c0b

fixed sdl detection (showed outdated even if not detected)
author atmosfear
date Sat, 21 Apr 2001 12:26:29 +0000
parents c5c2d4e41a4a
children e1b8c0b3ec35
comparison
equal deleted inserted replaced
557:e4aca0d51268 558:30d9f61e9c0b
397 $_cc $TMPC -o $TMPO -lpthread &> /dev/null || \ 397 $_cc $TMPC -o $TMPO -lpthread &> /dev/null || \
398 { echo "Lib pthread not found."; rm -f $TMPC $TMPO ; exit 1; } 398 { echo "Lib pthread not found."; rm -f $TMPC $TMPO ; exit 1; }
399 399
400 # Atmosfear: added SDL versioncheck and autodetect; removed warnings. 400 # Atmosfear: added SDL versioncheck and autodetect; removed warnings.
401 _sdl=no 401 _sdl=no
402 if test `sdl-config --version | sed s/[=[:punct:]=]//g` -gt 116 ; then 402 if $_cc $TMPC -o $TMPO -L/usr/lib/ -L/usr/local/lib/ -lSDL -lpthread &> /dev/null ; then
403 $_cc $TMPC -o $TMPO -L/usr/lib/ -L/usr/local/lib/ -lSDL -lpthread &> /dev/null && _sdl=yes 403 if test `sdl-config --version | sed s/[=[:punct:]=]//g` -gt 116 ; then
404 else 404 _sdl=yes
405 _sdl=outdated 405 else
406 fi 406 _sdl=outdated
407 fi
408 fi
407 409
408 _termcap=no 410 _termcap=no
409 $_cc $TMPC -o $TMPO -ltermcap &> /dev/null && _termcap=yes 411 $_cc $TMPC -o $TMPO -ltermcap &> /dev/null && _termcap=yes
410 412
411 _png=no 413 _png=no