]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Replace CONFIG_NOWAIT env var with -w option
authorRich Salz <rsalz@akamai.com>
Tue, 17 Aug 2021 15:42:21 +0000 (11:42 -0400)
committerPauli <pauli@openssl.org>
Fri, 20 Aug 2021 00:32:35 +0000 (10:32 +1000)
And document the -w option

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16325)

Configure
INSTALL.md
util/perl/OpenSSL/config.pm

index 2264e090c5e99bc4e1b926db2e0d3ade008c304e..b00b91ac63f59c16b2f8215e9d1a3387c8766ea4 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -63,6 +63,8 @@ EOF
 #               (Default: PREFIX/ssl)
 # --banner=".." Output specified text instead of default completion banner
 #
+# -w            Don't wait after showing a Configure warning
+#
 # --cross-compile-prefix Add specified prefix to binutils components.
 #
 # --api         One of 0.9.8, 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, or 3.0
@@ -898,7 +900,7 @@ while (@argvcopy)
                 {
                 $guess_opts{verbose} = 1;
                 }
-        elsif (/^-w$/)          # From older 'config'
+        elsif (/^-w$/)
                 {
                 $guess_opts{nowait} = 1;
                 }
index f483c0e8a0ee493302fcf6a275e8d7baceff3593..722a88bf04eb60fa89691626882f3317e95160fd 100644 (file)
@@ -587,6 +587,13 @@ alternative, you can use the language specific variables, `CFLAGS` and `CXXFLAGS
 Use the specified text instead of the default banner at the end of
 configuration.
 
+### --w
+
+On platforms where the choice of 32-bit or 64-bit architecture
+is not explicitly specified, `Configure` will print a warning
+message and wait for a few seconds to let you interrupt the
+configuration. Using this flag skips the wait.
+
 ### no-bulk
 
 Build only some minimal set of features.
@@ -1404,12 +1411,6 @@ over the build process.  Typically these should be defined prior to running
                    using this variable. Set it to the compiler executable you wish
                    to use, e.g. gcc or clang.
 
-    CONFIG_NOWAIT
-                   On platforms where the choice of 32-bit or 64-bit architecture
-                   is not explicitly specified, `Configure` will print a warning
-                   message and wait for a few seconds to let you interrupt the
-                   configuration. Setting this variable will skip the wait.
-
     CROSS_COMPILE
                    This environment variable has the same meaning as for the
                    "--cross-compile-prefix" Configure flag described above. If both
index b6de03c43a308ed36292b5853955a2f41ea9245f..7250791b5bd20a75c2a0f9a657223285496fc596 100755 (executable)
@@ -22,8 +22,8 @@ use Carp;
 # These control our behavior.
 my $DRYRUN;
 my $VERBOSE;
-my $WAIT = defined $ENV{'CONFIG_NOWAIT'} ? 0 : 1;
 my $WHERE = dirname($0);
+my $WAIT = 1;
 
 # Machine type, etc., used to determine the platform
 my $MACHINE;