Accept libterminfo too

netbsd terminfo is called libterminfo and not libtinfo.
This commit is contained in:
Maya Rashish 2017-04-27 16:01:55 +03:00
commit 4cc9446083

View file

@ -308,7 +308,7 @@ if test "x$want_textui" != "xno"; then
TEXTUI_NO_LIBS="$LIBS" TEXTUI_NO_LIBS="$LIBS"
LIBS= LIBS=
AC_SEARCH_LIBS([setupterm], [tinfo ncursesw ncurses], [want_textui=yes], [ AC_SEARCH_LIBS([setupterm], [tinfo terminfo ncursesw ncurses], [want_textui=yes], [
AC_ERROR(Terminfo not found - install libncurses-dev or ncurses-devel package) AC_ERROR(Terminfo not found - install libncurses-dev or ncurses-devel package)
want_textui="no, Terminfo not found" want_textui="no, Terminfo not found"
]) ])