Subject: Re: bug#33977: /configure.ac: search for puts() in libtinfow

From: Glenn Morris <[email-masked]>
Date: Mon, 07 Jan 2019 20:48:16 -0500

Version: 27.1

commit a3d52b3
Author: Paul Eggert <[email-masked]>
Date:   Sat Jan 5 09:47:14 2019 -0800

    Port to platforms where tputs is in libtinfow
    
    * configure.ac (tputs_library): Also try tinfow, ncursesw (Bug#33977).

diff --git a/configure.ac b/configure.ac
index 91fa417..e5bd694 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4111,7 +4111,8 @@ AC_DEFUN
   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'