Check setupterm() in libtinfo also

Some ncurses packages have build time configuration options to separate its
different parts into separate libraries.  Some Linux distributions in
particular separate out the terminfo routines in to libtinfo.

This change teaches configure that setupterm() can also be found there.
pull/1/head
Thomas Adam 2013-10-03 16:56:12 +01:00 committed by Thomas
parent d3f37566e2
commit 5b065e93b3
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ fi
# Look for curses.
AC_SEARCH_LIBS(
setupterm,
[terminfo curses ncurses],
[terminfo curses ncurses tinfo],
found_curses=yes,
found_curses=no
)