Changeset - r6339:53a33070f380
[Not reviewed]
master
0 1 0
truelight - 18 years ago 2007-03-19 18:37:23
truelight@openttd.org
(svn r9340) [Config] -Fix: on some systems $_ was set to /usr/bin/make; filter for this (tnx peter1138)
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
configure
Show inline comments
 
#!/bin/sh
 

	
 
CONFIGURE_EXECUTABLE="$_"
 
# On *nix systems those two are equal when ./configure is done
 
if [ "$0" != "$CONFIGURE_EXECUTABLE" ]; then
 
	if [ -z "`echo $CONFIGURE_EXECUTABLE | grep make`" ]; then
 
		CONFIGURE_EXECUTABLE="$0"
 
	else
 
	CONFIGURE_EXECUTABLE="$CONFIGURE_EXECUTABLE $0"
 
fi
 
fi
 
# Find out where configure is (in what dir)
 
ROOT_DIR="`dirname $0`"
 
ROOT_DIR="`cd $ROOT_DIR && pwd`"
 

	
 
PWD="`pwd`"
 
PREFIX="`pwd`/bin"
0 comments (0 inline, 0 general)