changeset 2301:ebcebb426771

Merged fix for bug #542 from SDL 1.2
author Sam Lantinga <slouken@libsdl.org>
date Thu, 24 Jan 2008 15:51:52 +0000
parents c97ad1abe05b
children 7ae1c419b626
files sdl.m4
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sdl.m4	Tue Jan 15 22:37:17 2008 +0000
+++ b/sdl.m4	Thu Jan 24 15:51:52 2008 +0000
@@ -32,10 +32,12 @@
     fi
   fi
 
+  as_save_PATH="$PATH"
   if test "x$prefix" != xNONE; then
     PATH="$prefix/bin:$prefix/usr/bin:$PATH"
   fi
   AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
+  PATH="$as_save_PATH"
   min_sdl_version=ifelse([$1], ,0.11.0,$1)
   AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
   no_sdl=""