# HG changeset patch # User truelight # Date 2007-03-19 18:37:23 # Node ID 53a33070f38022201856af765fe1a0f5f623de1a # Parent 4e4c351aef824f29c2af1bcb1d0892532384af8a (svn r9340) [Config] -Fix: on some systems $_ was set to /usr/bin/make; filter for this (tnx peter1138) diff --git a/configure b/configure --- 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`"