diff options
author | Fernando Nasser <fnasser@redhat.com> | 2000-12-11 18:59:47 +0000 |
---|---|---|
committer | Fernando Nasser <fnasser@redhat.com> | 2000-12-11 18:59:47 +0000 |
commit | 6bad8db2dca5644ea4530e1aafc5e247333cbeb1 (patch) | |
tree | 8d5be95c47f8475bbe2a52055fb9a9c52002cb1f | |
parent | ffb34d9aac3dc2fa3dc1808e4b07de896ee60318 (diff) | |
download | gdb-6bad8db2dca5644ea4530e1aafc5e247333cbeb1.zip gdb-6bad8db2dca5644ea4530e1aafc5e247333cbeb1.tar.gz gdb-6bad8db2dca5644ea4530e1aafc5e247333cbeb1.tar.bz2 |
2000-12-11 Fernando Nasser <fnasser@redhat.com>
* configure.in: Fix a couple of typos in the handling of the
enable_gdbcli option. Make it check enableval for the result
of AC_ARG_ENABLE.
* configure: Regenerate.
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rwxr-xr-x | gdb/configure | 10 | ||||
-rw-r--r-- | gdb/configure.in | 10 |
3 files changed, 17 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e2f5772..98768b6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2000-12-11 Fernando Nasser <fnasser@redhat.com> + + * configure.in: Fix a couple of typos in the handling of the + enable_gdbcli option. Make it check enableval for the result + of AC_ARG_ENABLE. + * configure: Regenerate. + 2000-12-08 Michael Snyder <msnyder@mvstp600e.cygnus.com> * dwarf2read.c (DWARF2_REG_TO_REGNUM): New macro. Provide default diff --git a/gdb/configure b/gdb/configure index 6786629..43cfe35 100755 --- a/gdb/configure +++ b/gdb/configure @@ -5700,14 +5700,14 @@ fi if test "${enable_gdbcli+set}" = set; then enableval="$enable_gdbcli" - case "${enable_gdbcli}" in - yes) ;; - "") enable_gdbcli=yes ;; + case "${enableval}" in + yes) enable_gdbcli=yes ;; + "") enable_gdbcli=yes ;; no) { echo "configure: error: The CLI cannot be disabled yet" 1>&2; exit 1; } ;; *) - { echo "configure: error: Bad value for --enable-gdbmi: ${enableval}" 1>&2; exit 1; } + { echo "configure: error: Bad value for --enable-gdbcli: ${enableval}" 1>&2; exit 1; } ;; esac @@ -5717,7 +5717,7 @@ fi case ${enable_gdbcli} in "yes" ) - if test -d "${srcdir}/mi" ; then + if test -d "${srcdir}/cli" ; then CONFIG_OBS="${CONFIG_OBS} \$(SUBDIR_CLI_OBS)" CONFIG_DEPS="${CONFIG_DEPS} \$(SUBDIR_CLI_DEPS)" CONFIG_SRCS="${CONFIG_SRS} \$(SUBDIR_CLI_SRCS)" diff --git a/gdb/configure.in b/gdb/configure.in index eb5a11f..04b948e 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -466,21 +466,21 @@ dnl Handle CLI sub-directory configury. AC_ARG_ENABLE(gdbcli, [ --enable-gdbcli Enable GDB-CLI interface], [ - case "${enable_gdbcli}" in - yes) ;; - "") enable_gdbcli=yes ;; + case "${enableval}" in + yes) enable_gdbcli=yes ;; + "") enable_gdbcli=yes ;; no) AC_MSG_ERROR(The CLI cannot be disabled yet) ;; *) - AC_MSG_ERROR(Bad value for --enable-gdbmi: ${enableval}) + AC_MSG_ERROR(Bad value for --enable-gdbcli: ${enableval}) ;; esac ], [enable_gdbcli=yes]) case ${enable_gdbcli} in "yes" ) - if test -d "${srcdir}/mi" ; then + if test -d "${srcdir}/cli" ; then CONFIG_OBS="${CONFIG_OBS} \$(SUBDIR_CLI_OBS)" CONFIG_DEPS="${CONFIG_DEPS} \$(SUBDIR_CLI_DEPS)" CONFIG_SRCS="${CONFIG_SRS} \$(SUBDIR_CLI_SRCS)" |