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.
This commit is contained in:
Tom Tromey 2021-06-01 08:11:30 -06:00
parent 2adf178139
commit ba56237dab
3 changed files with 7 additions and 2 deletions

View 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.

2
gdb/configure vendored
View file

@ -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)

View 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,