http://bugs.gentoo.org/457556 --- configure.ac +++ configure.ac @@ -130,7 +130,7 @@ # rather ncurses. So we check for it. TERMLIBS= # Check for termlib before termcap because Solaris termcap needs libucb. -TERMLIB_VARIANTS="ncurses curses termlib termcap terminfo" +TERMLIB_VARIANTS="tinfo ncurses curses termlib termcap terminfo" for termlib in ${TERMLIB_VARIANTS}; do AC_CHECK_LIB(${termlib}, tgetent, [TERMLIBS="${TERMLIBS} -l${termlib}"; break]) --- configure +++ configure @@ -17477,7 +17477,7 @@ # rather ncurses. So we check for it. TERMLIBS= # Check for termlib before termcap because Solaris termcap needs libucb. -TERMLIB_VARIANTS="ncurses curses termlib termcap terminfo" +TERMLIB_VARIANTS="tinfo ncurses curses termlib termcap terminfo" for termlib in ${TERMLIB_VARIANTS}; do as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tgetent" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for tgetent in -l${termlib}" >&5