Help with cross-compiling
authorSam Lantinga <slouken@libsdl.org>
Mon, 19 Aug 2002 18:33:29 +0000
changeset 452 4c5c10383201
parent 451 24edec3cafe4
child 453 a6fa62b1be09
Help with cross-compiling
sdl.m4
--- a/sdl.m4	Mon Aug 19 18:09:44 2002 +0000
+++ b/sdl.m4	Mon Aug 19 18:33:29 2002 +0000
@@ -33,7 +33,7 @@
   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=""