Merged fix for bug #542 from SDL 1.2
authorSam Lantinga <slouken@libsdl.org>
Thu, 24 Jan 2008 15:51:52 +0000
changeset 2301ebcebb426771
parent 2300 c97ad1abe05b
child 2302 7ae1c419b626
Merged fix for bug #542 from SDL 1.2
sdl.m4
     1.1 --- a/sdl.m4	Tue Jan 15 22:37:17 2008 +0000
     1.2 +++ b/sdl.m4	Thu Jan 24 15:51:52 2008 +0000
     1.3 @@ -32,10 +32,12 @@
     1.4      fi
     1.5    fi
     1.6  
     1.7 +  as_save_PATH="$PATH"
     1.8    if test "x$prefix" != xNONE; then
     1.9      PATH="$prefix/bin:$prefix/usr/bin:$PATH"
    1.10    fi
    1.11    AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
    1.12 +  PATH="$as_save_PATH"
    1.13    min_sdl_version=ifelse([$1], ,0.11.0,$1)
    1.14    AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
    1.15    no_sdl=""