diff options
author | Willem Jan Palenstijn | 2016-06-27 22:19:02 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2016-06-27 22:19:02 +0200 |
commit | d2f598cea677fc03b5987fb9f9d9ac41faa96ded (patch) | |
tree | 1f440dc8c84710ac99ec14e8074f03c1748a2967 /configure | |
parent | 9f789038b0a9aec3b1ca9399930c39ebacdf81a5 (diff) | |
download | scummvm-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-x | configure | 26 |
1 files changed, 14 insertions, 12 deletions
@@ -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 ;; |