mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05: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:
parent
0229a2bd84
commit
6e38cc2645
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user