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.ac | |
parent | 4735f0edf4265e3e260e10a12921baf17987a020 (diff) | |
download | gdb-056dec39ed11e0027ae399018c3fef3a719718b9.zip gdb-056dec39ed11e0027ae399018c3fef3a719718b9.tar.gz gdb-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.ac')
-rw-r--r-- | gdb/configure.ac | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 4c20ea5..dfd38a7 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -299,29 +299,6 @@ if test "x$targ_defvec" != x; then [Define to BFD's default target vector. ]) fi -# The CLI cannot be disabled yet, but may be in the future. - -# Enable CLI. -AC_ARG_ENABLE(gdbcli, -AS_HELP_STRING([--disable-gdbcli], [disable command-line interface (CLI)]), - [case $enableval in - yes) - ;; - no) - AC_MSG_ERROR([the command-line interface cannot be disabled yet]) ;; - *) - AC_MSG_ERROR([bad value $enableval for --enable-gdbcli]) ;; - esac], - [enable_gdbcli=yes]) -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. AC_ARG_ENABLE(gdbmi, AS_HELP_STRING([--disable-gdbmi], [disable machine-interface (MI)]), |