aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-02-26 00:41:46 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-02-26 00:41:46 +0000
commit7613d9339cb44564d4f98ef22f714cd2f7abb5a4 (patch)
tree3e780c339f3e77db32079b4e82d19367f993c222 /gdb/configure.in
parent2f3bf8b93ed012923d345662d364d7aedf8dec73 (diff)
downloadgdb-7613d9339cb44564d4f98ef22f714cd2f7abb5a4.zip
gdb-7613d9339cb44564d4f98ef22f714cd2f7abb5a4.tar.gz
gdb-7613d9339cb44564d4f98ef22f714cd2f7abb5a4.tar.bz2
* configure.in: Refine the previous change.
* configure: Regenerate.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index e8df001..07a289f 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -152,9 +152,8 @@ AC_SEARCH_LIBS(initscr, [ncurses Hcurses curses pdcurses], [],
# additional library. So if we did not find this function inside
# the curses library, try some alternate libraries we know might
# provide it.
-AC_CHECK_FUNC(wborder, [wborder_available=yes],
- [AC_SEARCH_LIBS(wborder, [cur_colr], [wborder_available=yes],
- [AC_MSG_WARN([no wborder function found])])])
+AC_SEARCH_LIBS(wborder, [cur_colr], [],
+ [AC_MSG_WARN([wborder function not found, tui will be disabled])])
# Enable TUI.
AC_ARG_ENABLE(tui,
@@ -167,7 +166,7 @@ AC_ARG_ENABLE(tui,
esac],enable_tui=yes)
if test x"$enable_tui" = xyes; then
if test -d $srcdir/tui; then
- if test "$ac_cv_search_initscr" != no -a "$wborder_available" = "yes"; then
+ if test "$ac_cv_search_initscr" != no -a "$ac_cv_search_wborder" != no; then
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
CONFIG_DEPS="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"