comparison sdl.m4 @ 2301:ebcebb426771

Merged fix for bug #542 from SDL 1.2
author Sam Lantinga <slouken@libsdl.org>
date Thu, 24 Jan 2008 15:51:52 +0000
parents e9bcf004c324
children 3d75acd08339 7bb8f748a14d
comparison
equal deleted inserted replaced
2300:c97ad1abe05b 2301:ebcebb426771
30 if test x${SDL_CONFIG+set} != xset ; then 30 if test x${SDL_CONFIG+set} != xset ; then
31 SDL_CONFIG=$sdl_prefix/bin/sdl-config 31 SDL_CONFIG=$sdl_prefix/bin/sdl-config
32 fi 32 fi
33 fi 33 fi
34 34
35 as_save_PATH="$PATH"
35 if test "x$prefix" != xNONE; then 36 if test "x$prefix" != xNONE; then
36 PATH="$prefix/bin:$prefix/usr/bin:$PATH" 37 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
37 fi 38 fi
38 AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH]) 39 AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
40 PATH="$as_save_PATH"
39 min_sdl_version=ifelse([$1], ,0.11.0,$1) 41 min_sdl_version=ifelse([$1], ,0.11.0,$1)
40 AC_MSG_CHECKING(for SDL - version >= $min_sdl_version) 42 AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
41 no_sdl="" 43 no_sdl=""
42 if test "$SDL_CONFIG" = "no" ; then 44 if test "$SDL_CONFIG" = "no" ; then
43 no_sdl=yes 45 no_sdl=yes