diff options
author | Tom Tromey <tromey@adacore.com> | 2021-06-01 08:11:30 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2021-06-01 08:11:31 -0600 |
commit | ba56237dab86cceb53e5b27c56d930ec4055ea35 (patch) | |
tree | 51ccf2820412c7711900dbc179763f21c619f878 | |
parent | 2adf17813913122c9ca53dde25cab8fde14483db (diff) | |
download | fsf-binutils-gdb-ba56237dab86cceb53e5b27c56d930ec4055ea35.zip fsf-binutils-gdb-ba56237dab86cceb53e5b27c56d930ec4055ea35.tar.gz fsf-binutils-gdb-ba56237dab86cceb53e5b27c56d930ec4055ea35.tar.bz2 |
Clean up gdb's --enable-shared
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rwxr-xr-x | gdb/configure | 2 | ||||
-rw-r--r-- | gdb/configure.ac | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 137919e..87e2a13 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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. 2021-06-01 Tom Tromey <tromey@adacore.com> diff --git a/gdb/configure b/gdb/configure index 7897a57..fb43377 100755 --- a/gdb/configure +++ b/gdb/configure @@ -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) diff --git a/gdb/configure.ac b/gdb/configure.ac index c08a3b5..e6e1c6b 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -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, |