Fixed path problem with sdl.m4 macro file
authorSam Lantinga <slouken@libsdl.org>
Mon, 09 Sep 2002 05:12:32 +0000
changeset 489d90349051cab
parent 488 0a111805b53a
child 490 7e53d17ec798
Fixed path problem with sdl.m4 macro file
sdl.m4
test/acinclude.m4
     1.1 --- a/sdl.m4	Mon Sep 09 03:22:19 2002 +0000
     1.2 +++ b/sdl.m4	Mon Sep 09 05:12:32 2002 +0000
     1.3 @@ -33,7 +33,8 @@
     1.4    fi
     1.5  
     1.6    AC_REQUIRE([AC_CANONICAL_TARGET])
     1.7 -  AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$prefix/bin:$prefix/usr/bin:$PATH])
     1.8 +  PATH="$prefix/bin:$prefix/usr/bin:$PATH"
     1.9 +  AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
    1.10    min_sdl_version=ifelse([$1], ,0.11.0,$1)
    1.11    AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
    1.12    no_sdl=""
     2.1 --- a/test/acinclude.m4	Mon Sep 09 03:22:19 2002 +0000
     2.2 +++ b/test/acinclude.m4	Mon Sep 09 05:12:32 2002 +0000
     2.3 @@ -33,7 +33,8 @@
     2.4    fi
     2.5  
     2.6    AC_REQUIRE([AC_CANONICAL_TARGET])
     2.7 -  AC_PATH_PROG(SDL_CONFIG, sdl-config, no)
     2.8 +  PATH="$prefix/bin:$prefix/usr/bin:$PATH"
     2.9 +  AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
    2.10    min_sdl_version=ifelse([$1], ,0.11.0,$1)
    2.11    AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
    2.12    no_sdl=""