[Scummvm-cvs-logs] CVS: scummvm configure,1.48,1.49
James Brown
ender at users.sourceforge.net
Sat Nov 15 20:07:05 CET 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen talk.cpp,1.45,1.46
- Next message: [Scummvm-cvs-logs] CVS: scummvm/queen walk.h,1.12,1.13 walk.cpp,1.23,1.24 logic.cpp,1.100,1.101 command.cpp,1.18,1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm
In directory sc8-pr-cvs1:/tmp/cvs-serv4411
Modified Files:
configure
Log Message:
Patch #842988 (sev) - fix bugs in sdl-config detection
Index: configure
===================================================================
RCS file: /cvsroot/scummvm/scummvm/configure,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- configure 18 Oct 2003 22:06:21 -0000 1.48
+++ configure 16 Nov 2003 04:03:31 -0000 1.49
@@ -82,17 +82,28 @@
find_sdlconfig()
{
printf "Looking for sdl-config... "
-sdlconfigs="$_sdlconfig sdl-config sdl11-config sdl12-config"
-for sdlconfig in $sdlconfigs; do
- if test "-e $sdlconfig" ; then
- _sdlconfig=$sdlconfig
- echo $_sdlconfig
- break
- else
- echo "none found!"
- exit 1
- fi
+sdlconfigs="$_sdlconfig:sdl-config:sdl11-config:sdl12-config"
+_sdlconfig=
+
+IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+
+for path_dir in $PATH; do
+ for sdlconfig in $sdlconfigs; do
+ if test -e "$path_dir/$sdlconfig" ; then
+ _sdlconfig=$sdlconfig
+ echo $_sdlconfig
+ break
+ fi
+ done
done
+
+IFS="$ac_save_ifs"
+
+if test -z "$_sdlconfig"; then
+ echo "none found!"
+ exit 1
+fi
+
}
#
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen talk.cpp,1.45,1.46
- Next message: [Scummvm-cvs-logs] CVS: scummvm/queen walk.h,1.12,1.13 walk.cpp,1.23,1.24 logic.cpp,1.100,1.101 command.cpp,1.18,1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list