comparison sdl.m4 @ 452:4c5c10383201

Help with cross-compiling
author Sam Lantinga <slouken@libsdl.org>
date Mon, 19 Aug 2002 18:33:29 +0000
parents e7f75aaf542f
children d90349051cab
comparison
equal deleted inserted replaced
451:24edec3cafe4 452:4c5c10383201
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 AC_REQUIRE([AC_CANONICAL_TARGET]) 35 AC_REQUIRE([AC_CANONICAL_TARGET])
36 AC_PATH_PROG(SDL_CONFIG, sdl-config, no) 36 AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$prefix/bin:$prefix/usr/bin:$PATH])
37 min_sdl_version=ifelse([$1], ,0.11.0,$1) 37 min_sdl_version=ifelse([$1], ,0.11.0,$1)
38 AC_MSG_CHECKING(for SDL - version >= $min_sdl_version) 38 AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
39 no_sdl="" 39 no_sdl=""
40 if test "$SDL_CONFIG" = "no" ; then 40 if test "$SDL_CONFIG" = "no" ; then
41 no_sdl=yes 41 no_sdl=yes