1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-01 04:14:16 -04:00

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
This commit is contained in:
Timo Sirainen 2001-10-28 23:01:22 +00:00 committed by cras
parent 0229a2bd84
commit 6e38cc2645

View File

@ -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"