comparison sdl.m4 @ 489:d90349051cab

Fixed path problem with sdl.m4 macro file
author Sam Lantinga <slouken@libsdl.org>
date Mon, 09 Sep 2002 05:12:32 +0000
parents 4c5c10383201
children a5defa3b93e1
comparison
equal deleted inserted replaced
488:0a111805b53a 489:d90349051cab
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, [$prefix/bin:$prefix/usr/bin:$PATH]) 36 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
37 AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
37 min_sdl_version=ifelse([$1], ,0.11.0,$1) 38 min_sdl_version=ifelse([$1], ,0.11.0,$1)
38 AC_MSG_CHECKING(for SDL - version >= $min_sdl_version) 39 AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
39 no_sdl="" 40 no_sdl=""
40 if test "$SDL_CONFIG" = "no" ; then 41 if test "$SDL_CONFIG" = "no" ; then
41 no_sdl=yes 42 no_sdl=yes