aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2016-06-27 22:19:02 +0200
committerWillem Jan Palenstijn2016-06-27 22:19:02 +0200
commitd2f598cea677fc03b5987fb9f9d9ac41faa96ded (patch)
tree1f440dc8c84710ac99ec14e8074f03c1748a2967 /configure
parent9f789038b0a9aec3b1ca9399930c39ebacdf81a5 (diff)
downloadscummvm-rg350-d2f598cea677fc03b5987fb9f9d9ac41faa96ded.tar.gz
scummvm-rg350-d2f598cea677fc03b5987fb9f9d9ac41faa96ded.tar.bz2
scummvm-rg350-d2f598cea677fc03b5987fb9f9d9ac41faa96ded.zip
CONFIGURE: Only open config.log after showing help
This prevents ./configure --help from clearing config.log.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure26
1 files changed, 14 insertions, 12 deletions
diff --git a/configure b/configure
index 8b8894d892..9e2a19de34 100755
--- a/configure
+++ b/configure
@@ -809,18 +809,6 @@ get_subengines_build_string() {
}
#
-# Greet user
-#
-echo "Running ScummVM configure..."
-echo "Configure run on" `date` > $TMPLOG
-cat >> $TMPLOG <<EOF
-Invocation command line was:
-$0 $@
-Saved environment variables:
-LDFLAGS="$SAVED_LDFLAGS" CXX="$SAVED_CXX" CXXFLAGS="$SAVED_CXXFLAGS" CPPFLAGS="$SAVED_CPPFLAGS" ASFLAGS="$SAVED_ASFLAGS" WINDRESFLAGS="$SAVED_WINDRESFLAGS" SDL_CONFIG="$SAVED_SDL_CONFIG"
-EOF
-
-#
# Check any parameters we received
#
# TODO:
@@ -1031,6 +1019,20 @@ EOF
fi
done # for parm in ...
+
+#
+# If we're not showing help, greet the user and start the log file
+#
+echo "Running ScummVM configure..."
+echo "Configure run on" `date` > $TMPLOG
+cat >> $TMPLOG <<EOF
+Invocation command line was:
+$0 $@
+Saved environment variables:
+LDFLAGS="$SAVED_LDFLAGS" CXX="$SAVED_CXX" CXXFLAGS="$SAVED_CXXFLAGS" CPPFLAGS="$SAVED_CPPFLAGS" ASFLAGS="$SAVED_ASFLAGS" WINDRESFLAGS="$SAVED_WINDRESFLAGS" SDL_CONFIG="$SAVED_SDL_CONFIG"
+EOF
+
+
for ac_option in $@; do
case "$ac_option" in
--disable-16bit) _16bit=no ;;