aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-09-25 09:17:47 +0000
committerMark Kettenis <kettenis@gnu.org>2004-09-25 09:17:47 +0000
commit8b9cf735409903b446ab3fd11960104e4d948dee (patch)
tree362fb7e42c1e6d76928af7c90e40578e33c557cc /gdb/configure.in
parent9a8371d2df36057c103d513fde83036b18c10e3d (diff)
downloadgdb-8b9cf735409903b446ab3fd11960104e4d948dee.zip
gdb-8b9cf735409903b446ab3fd11960104e4d948dee.tar.gz
gdb-8b9cf735409903b446ab3fd11960104e4d948dee.tar.bz2
* configure.in: Check for waddstr instead of mvwaddstr when
searching for curses library. Check for wborder. * configure, config.in: Regenerate. * tui/tui-wingeneral.c (box_win): Use box if wborder isn't available.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index d3dc041..0f3be69 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -195,7 +195,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_mvwaddstr" != no; then
+ if test "$ac_cv_search_waddstr" != no; then
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
CONFIG_DEPS="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
@@ -341,9 +341,9 @@ AC_SEARCH_LIBS(socketpair, socket)
# search /usr/local/include, if ncurses is installed in /usr/local. A
# default installation of ncurses on alpha*-dec-osf* will lead to such
# a situation.
-AC_SEARCH_LIBS(mvwaddstr, [ncurses cursesX curses])
+AC_SEARCH_LIBS(waddstr, [ncurses cursesX curses])
-if test "$ac_cv_search_mvwaddstr" = no; then
+if test "$ac_cv_search_waddstr" = no; then
AC_MSG_WARN([no curses library found])
fi
@@ -467,6 +467,7 @@ AC_CHECK_FUNCS(sigaction sigprocmask sigsetmask)
AC_CHECK_FUNCS(socketpair)
AC_CHECK_FUNCS(syscall)
AC_CHECK_FUNCS(ttrace)
+AC_CHECK_FUNCS(wborder)
# Check the return and argument types of ptrace. No canned test for
# this, so roll our own.