Port to platforms where tputs is in libtinfow

* configure.ac (tputs_library): Also try tinfow, ncursesw (Bug#33977).

(cherry picked from commit a3d52b3057)
This commit is contained in:
Paul Eggert 2019-01-05 09:47:14 -08:00 committed by Noam Postavsky
parent 0e8d452c1c
commit 531c74e249

View file

@ -4046,7 +4046,8 @@ AC_CACHE_CHECK([for library containing tputs], [emacs_cv_tputs_lib],
emacs_cv_tputs_lib='none required'
else
# curses precedes termcap because of AIX (Bug#9736#35) and OpenIndiana.
for tputs_library in '' tinfo ncurses terminfo curses termcap; do
tputs_libraries='tinfo ncurses terminfo curses termcap tinfow ncursesw'
for tputs_library in '' $tputs_libraries; do
OLIBS=$LIBS
if test -z "$tputs_library"; then
emacs_cv_tputs_lib='none required'