summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-05-08 06:26:54 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-05-08 06:26:54 -0700
commit067975f9e75ec0f6ca3ccd46064b4b90e489e37f (patch)
tree63fdb83f29bee0d9349a9cb71ef220557a4ece2c
parenta924e5ab8b90b03f614587fc8ece2e302fae6c81 (diff)
downloadtxr-067975f9e75ec0f6ca3ccd46064b4b90e489e37f.tar.gz
txr-067975f9e75ec0f6ca3ccd46064b4b90e489e37f.tar.bz2
txr-067975f9e75ec0f6ca3ccd46064b4b90e489e37f.zip
configure: --help doesn't clober ./reconfigure
* configure: move the section of the script which produces ./reconfigure after the help processing.
-rwxr-xr-xconfigure31
1 files changed, 16 insertions, 15 deletions
diff --git a/configure b/configure
index 19f690c4..22f47f75 100755
--- a/configure
+++ b/configure
@@ -110,21 +110,6 @@ for arg in "$0" ${@+"$@"} ; do
done
#
-# Tentatively save configuration in config.log
-#
-cat > reconfigure <<!
-#!/bin/sh
-#
-# Configured on $(date) using:
-
-$cmdline
-
-# The above did not complete.
-!
-
-chmod a+x reconfigure
-
-#
# Establish default values for any variables that are not specified
# on the command line. The default derivations from prefix are in
# Make syntax. They go verbatim into the generated config.make.
@@ -531,6 +516,22 @@ small-mem [$small_mem]
fi
#
+# Tentatively save configuration in config.log
+#
+cat > reconfigure <<!
+#!/bin/sh
+#
+# Configured on $(date) using:
+
+$cmdline
+
+# The above did not complete.
+!
+
+chmod a+x reconfigure
+
+
+#
# Variables are read, --help wasn't given, so let's configure!
#