diff --git a/sdl.m4 b/sdl.m4 index c8896aa51..9e8630c68 100644 --- a/sdl.m4 +++ b/sdl.m4 @@ -33,7 +33,7 @@ AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run fi AC_REQUIRE([AC_CANONICAL_TARGET]) - AC_PATH_PROG(SDL_CONFIG, sdl-config, no) + AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$prefix/bin:$prefix/usr/bin:$PATH]) min_sdl_version=ifelse([$1], ,0.11.0,$1) AC_MSG_CHECKING(for SDL - version >= $min_sdl_version) no_sdl=""