Commit 227be092 authored by Sam Lantinga's avatar Sam Lantinga

Merged fix for bug #542 from SDL 1.2

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402711
parent 79041b0a
...@@ -32,10 +32,12 @@ AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run ...@@ -32,10 +32,12 @@ AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run
fi fi
fi fi
as_save_PATH="$PATH"
if test "x$prefix" != xNONE; then if test "x$prefix" != xNONE; then
PATH="$prefix/bin:$prefix/usr/bin:$PATH" PATH="$prefix/bin:$prefix/usr/bin:$PATH"
fi fi
AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH]) AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
PATH="$as_save_PATH"
min_sdl_version=ifelse([$1], ,0.11.0,$1) min_sdl_version=ifelse([$1], ,0.11.0,$1)
AC_MSG_CHECKING(for SDL - version >= $min_sdl_version) AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
no_sdl="" no_sdl=""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment