diff options
author | Tom Tromey <tom@tromey.com> | 2018-06-28 11:19:33 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-07-17 09:54:17 -0600 |
commit | 056dec39ed11e0027ae399018c3fef3a719718b9 (patch) | |
tree | 5fb766a67cbe830cd8484ccd85e52b652ad6d873 /gdb/configure | |
parent | 4735f0edf4265e3e260e10a12921baf17987a020 (diff) | |
download | binutils-056dec39ed11e0027ae399018c3fef3a719718b9.zip binutils-056dec39ed11e0027ae399018c3fef3a719718b9.tar.gz binutils-056dec39ed11e0027ae399018c3fef3a719718b9.tar.bz2 |
Remove --disable-gdbcli
I think it doesn't really make sense to allow building gdb without the
CLI. Perhaps at one time this was a goal, but libgdb is long gone and
the CLI is intrinsic to gdb.
So, this patch removes the implementation of this configure option.
It is still recognized (this is autoconf's default), but does nothing.
This simplifies configure.ac and Makefile.in a bit.
Tested by rebuilding.
gdb/ChangeLog
2018-07-17 Tom Tromey <tom@tromey.com>
* configure.ac: Remove --disable-gdbcli.
* configure: Rebuild.
* Makefile.in (SUBDIR_CLI_DEPS, SUBDIR_CLI_LDFLAGS)
(SUBDIR_CLI_CFLAGS): Remove.
(SFILES): Use SUBDIR_CLI_SRCS.
(COMMON_OBS): Use SUBDIR_CLI_OBS.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gdb/configure b/gdb/configure index 28756ed..3f0a220 100755 --- a/gdb/configure +++ b/gdb/configure @@ -855,7 +855,6 @@ with_auto_load_dir with_auto_load_safe_path enable_targets enable_64_bit_bfd -enable_gdbcli enable_gdbmi enable_tui enable_gdbtk @@ -1547,7 +1546,6 @@ Optional Features: --enable-targets=TARGETS alternative target configurations --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) - --disable-gdbcli disable command-line interface (CLI) --disable-gdbmi disable machine-interface (MI) --enable-tui enable full-screen terminal user interface (TUI) --enable-gdbtk enable gdbtk graphical user interface (GUI) @@ -6755,32 +6753,6 @@ _ACEOF fi -# The CLI cannot be disabled yet, but may be in the future. - -# Enable CLI. -# Check whether --enable-gdbcli was given. -if test "${enable_gdbcli+set}" = set; then : - enableval=$enable_gdbcli; case $enableval in - yes) - ;; - no) - as_fn_error $? "the command-line interface cannot be disabled yet" "$LINENO" 5 ;; - *) - as_fn_error $? "bad value $enableval for --enable-gdbcli" "$LINENO" 5 ;; - esac -else - enable_gdbcli=yes -fi - -if test x"$enable_gdbcli" = xyes; then - if test -d $srcdir/cli; then - CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_CLI_OBS)" - CONFIG_DEPS="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)" - CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)" - ENABLE_CFLAGS="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)" - fi -fi - # Enable MI. # Check whether --enable-gdbmi was given. if test "${enable_gdbmi+set}" = set; then : |