(svn r9049) -Fix [Config]: when running 'bash configure', make sure automated reconfigures run 'bash configure' too.

This commit is contained in:
truelight 2007-03-06 23:42:30 +00:00
parent 0b5cbecd3d
commit a69e3b1c45
2 changed files with 6 additions and 1 deletions

View File

@ -275,7 +275,7 @@ save_params() {
echo "Running configure with following options:" >> $config_log
echo "" >> $config_log
configure="$0 --ignore-extra-parameters"
configure="$CONFIGURE_EXECUTABLE --ignore-extra-parameters"
for p in $save_params_array; do
eval "v=\"\$$p\""
p=`echo "$p" | sed 's/_/-/g;s/\n//g;'`

5
configure vendored
View File

@ -1,5 +1,10 @@
#!/bin/sh
CONFIGURE_EXECUTABLE="$_"
# On *nix systems those two are equal when ./configure is done
if [ "$0" != "$CONFIGURE_EXECUTABLE" ]; then
CONFIGURE_EXECUTABLE="$CONFIGURE_EXECUTABLE $0"
fi
# Find out where configure is (in what dir)
ROOT_DIR="`dirname $0`"
ROOT_DIR="`cd $ROOT_DIR && pwd`"