comparison configure @ 704:caf498160368

Added workaround for buggy SDL.
author atmosfear
date Sat, 05 May 2001 21:37:37 +0000
parents c7a85e85f292
children dc7d130b5fcd
comparison
equal deleted inserted replaced
703:fcc01494c0fe 704:caf498160368
408 408
409 # Atmosfear: added SDL versioncheck and autodetect; removed warnings. 409 # Atmosfear: added SDL versioncheck and autodetect; removed warnings.
410 _sdl=no 410 _sdl=no
411 if $_cc $TMPC -o $TMPO -L/usr/lib/ -L/usr/local/lib/ -lSDL -lpthread &> /dev/null ; then 411 if $_cc $TMPC -o $TMPO -L/usr/lib/ -L/usr/local/lib/ -lSDL -lpthread &> /dev/null ; then
412 if test `sdl-config --version | sed s/[=[:punct:]=]//g` -gt 116 ; then 412 if test `sdl-config --version | sed s/[=[:punct:]=]//g` -gt 116 ; then
413 if test `sdl-config --version | sed s/[=[:punct:]=]//g` -lt 121 ; then
414 _sdlbuggy='#define BUGGY_SDL'
415 else
416 _sdlbuggy='#undef BUGGY_SDL'
417 fi
413 _sdl=yes 418 _sdl=yes
414 else 419 else
415 _sdl=outdated 420 _sdl=outdated
416 fi 421 fi
417 fi 422 fi
1059 $_vm 1064 $_vm
1060 $_gl 1065 $_gl
1061 $_dga 1066 $_dga
1062 $_dga2 1067 $_dga2
1063 $_sdldef 1068 $_sdldef
1069 /* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
1070 $_sdlbuggy
1064 $_3dfx 1071 $_3dfx
1065 $_mga 1072 $_mga
1066 $_syncfb 1073 $_syncfb
1067 $_fbdev 1074 $_fbdev
1068 $_svga 1075 $_svga