From 6e38cc264558b635c1616fa326e0b38a640adfe4 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 28 Oct 2001 23:01:22 +0000 Subject: [PATCH] Even if curses was found, we still need to check if it has terminfo code or just termcap.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1932 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.in b/configure.in index 2197f09c..e504caaa 100644 --- a/configure.in +++ b/configure.in @@ -450,6 +450,11 @@ if test "x$want_textui" = "xyes"; then want_terminfo=yes AC_CHECK_FUNC(setupterm,, want_termcap=yes) fi + if test "x$want_terminfo" = "xyes"; then + AC_CHECK_LIB(curses, setupterm,, [ + want_termcap=yes + ]) + fi else AC_CHECK_LIB(tinfo, setupterm, [ LIBS="$LIBS -ltinfo"