From beb21139c3318d722173ec442660240734a3e362 Mon Sep 17 00:00:00 2001 From: truelight Date: Mon, 19 Mar 2007 18:37:23 +0000 Subject: (svn r9340) [Config] -Fix: on some systems $_ was set to /usr/bin/make; filter for this (tnx peter1138) --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index e61b972dc..3e96ae645 100755 --- a/configure +++ b/configure @@ -3,7 +3,11 @@ CONFIGURE_EXECUTABLE="$_" # On *nix systems those two are equal when ./configure is done if [ "$0" != "$CONFIGURE_EXECUTABLE" ]; then - CONFIGURE_EXECUTABLE="$CONFIGURE_EXECUTABLE $0" + 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`" -- cgit v1.2.3-54-g00ecf