(svn r9340) [Config] -Fix: on some systems $_ was set to /usr/bin/make; filter for this (tnx peter1138)
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -3,8 +3,12 @@
|
|||||||
CONFIGURE_EXECUTABLE="$_"
|
CONFIGURE_EXECUTABLE="$_"
|
||||||
# On *nix systems those two are equal when ./configure is done
|
# On *nix systems those two are equal when ./configure is done
|
||||||
if [ "$0" != "$CONFIGURE_EXECUTABLE" ]; then
|
if [ "$0" != "$CONFIGURE_EXECUTABLE" ]; then
|
||||||
|
if [ -z "`echo $CONFIGURE_EXECUTABLE | grep make`" ]; then
|
||||||
|
CONFIGURE_EXECUTABLE="$0"
|
||||||
|
else
|
||||||
CONFIGURE_EXECUTABLE="$CONFIGURE_EXECUTABLE $0"
|
CONFIGURE_EXECUTABLE="$CONFIGURE_EXECUTABLE $0"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
# Find out where configure is (in what dir)
|
# Find out where configure is (in what dir)
|
||||||
ROOT_DIR="`dirname $0`"
|
ROOT_DIR="`dirname $0`"
|
||||||
ROOT_DIR="`cd $ROOT_DIR && pwd`"
|
ROOT_DIR="`cd $ROOT_DIR && pwd`"
|
||||||
|
|||||||
Reference in New Issue
Block a user