Clean up gdb's --enable-shared
authorTom Tromey <tromey@adacore.com>
Tue, 1 Jun 2021 14:11:30 +0000 (08:11 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 1 Jun 2021 14:11:31 +0000 (08:11 -0600)
The old testsuite configure did not use AS_HELP_STRING, and it had a
typo in the help for --enable-shared.  This patch fixes these
problems.

gdb/ChangeLog
2021-06-01  Tom Tromey  <tromey@adacore.com>

* configure: Rebuild.
* configure.ac: Use AS_HELP_STRING for enable-shared.  Fix typo.

gdb/ChangeLog
gdb/configure
gdb/configure.ac

index 137919e4ffd120c18b716b09ec85363579273679..87e2a13fcc4ecd03f28eb7166e5a3bfbd92d7a5b 100644 (file)
@@ -1,3 +1,8 @@
+2021-06-01  Tom Tromey  <tromey@adacore.com>
+
+       * configure: Rebuild.
+       * configure.ac: Use AS_HELP_STRING for enable-shared.  Fix typo.
+
 2021-06-01  Tom Tromey  <tromey@adacore.com>
 
        * silent-rules.mk (ECHO_CC): New variable.
index 7897a57113f362e6cdfb3e905d2bda0fa0e6ea11..fb43377015c80608ac7d36166081a7e7b8cfb452 100755 (executable)
@@ -1588,7 +1588,7 @@ Optional Features:
                           sometimes confusing) to the casual installer
   --enable-plugins        Enable support for plugins
   --disable-largefile     omit support for large files
-  --enable-shared         build shared libraries deault=yes
+  --enable-shared         build shared libraries [default=yes]
   --enable-targets=TARGETS
                           alternative target configurations
   --enable-64-bit-bfd     64-bit support (on hosts with narrower word sizes)
index c08a3b53b6c121bc1e3a3a709993598934da491f..e6e1c6b7b90de2a6cbbd40dc5971578f44278de5 100644 (file)
@@ -154,7 +154,7 @@ AC_MSG_RESULT([$with_auto_load_safe_path])
 
 # Enable shared libraries.
 AC_ARG_ENABLE(shared,
-[  --enable-shared         build shared libraries [deault=yes]],,
+AS_HELP_STRING([--enable-shared], [build shared libraries [default=yes]]),,
   enable_shared=yes)
 
 # If we have shared libraries, try to set RPATH_ENVVAR reasonably,