diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-02-14 11:37:16 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-02-14 13:31:29 -0500 |
commit | 92a2cc556c702154fcbc69f7def2a023185f25dd (patch) | |
tree | 10bb6aca54a8e63451497e1412b7733ea4819e51 /gdb/configure | |
parent | 81aa19c303c94f549cb9ae343cfe4b635b4e888c (diff) | |
download | fsf-binutils-gdb-92a2cc556c702154fcbc69f7def2a023185f25dd.zip fsf-binutils-gdb-92a2cc556c702154fcbc69f7def2a023185f25dd.tar.gz fsf-binutils-gdb-92a2cc556c702154fcbc69f7def2a023185f25dd.tar.bz2 |
gdb: remove unnecessary tui directory check in configure
I suppose this was possible in the CVS days for the tui directory to be
missing, but it's not really possible nowaday. Well, a user could
delete the directory from their source tree but... it doesn't make
sense. Remove the check for that directory in configure.
Change-Id: Iea1412f5e5482ed003015030132ec22150c7d0b3
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/gdb/configure b/gdb/configure index 1114bcd..cfdaf59 100755 --- a/gdb/configure +++ b/gdb/configure @@ -20636,19 +20636,17 @@ fi # Check whether we should enable the TUI, but only do so if we really # can. if test x"$enable_tui" != xno; then - if test -d "$srcdir/tui"; then - if test "$curses_found" != no; then - CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_TUI_OBS)" - CONFIG_DEPS="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)" - CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)" - ENABLE_CFLAGS="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)" + if test "$curses_found" != no; then + CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_TUI_OBS)" + CONFIG_DEPS="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)" + CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)" + ENABLE_CFLAGS="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)" + else + if test x"$enable_tui" = xyes; then + as_fn_error $? "no enhanced curses library found; disable TUI" "$LINENO" 5 else - if test x"$enable_tui" = xyes; then - as_fn_error $? "no enhanced curses library found; disable TUI" "$LINENO" 5 - else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no enhanced curses library found; disabling TUI" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no enhanced curses library found; disabling TUI" >&5 $as_echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;} - fi fi fi fi |