AC_FIND_FUNC_NO_LIBS should check libtinfo for tgetent

This commit is contained in:
Damir Franusic
2018-12-09 19:50:47 +01:00
committed by Luke Howard
parent 511c84fe65
commit 872222db35
3 changed files with 6 additions and 2 deletions

View File

@@ -36,7 +36,8 @@ EL_MANTYPE
AC_CHECK_LIB(curses, tgetent,,
[AC_CHECK_LIB(ncurses, tgetent,,
[AC_MSG_ERROR([libcurses or libncurses are required!])] )] )
[AC_CHECK_LIB(tinfo, tgetent,,
[AC_MSG_ERROR([libcurses or libncurses are required!])] )] )] )
# Checks for header files.