summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index 53288e5c..575a8341 100644
--- a/configure.in
+++ b/configure.in
@@ -435,11 +435,9 @@ if test "x$want_textui" = "xyes"; then
AC_CHECK_FUNC(idcok, AC_DEFINE(HAVE_CURSES_IDCOK))
AC_CHECK_FUNC(resizeterm, AC_DEFINE(HAVE_CURSES_RESIZETERM))
AC_CHECK_FUNC(wresize, AC_DEFINE(HAVE_CURSES_WRESIZE))
- if test "x$want_terminfo" = "xyes"; then
- AC_CHECK_LIB(curses, setupterm,, [
- want_termcap=yes
- ])
- fi
+ AC_CHECK_FUNC(setupterm,, [
+ want_termcap=yes
+ ])
else
AC_CHECK_LIB(tinfo, setupterm, [
LIBS="$LIBS -ltinfo"