Subject: /configure.ac: search for puts() in libtinfow
From: Дилян Палаузов<[email-masked]>
To: [email-masked]
Date: Fri, 04 Jan 2019 18:06:47 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

on my system I have only the wide variant of ncurses, so I have libncursesw, libtinfow, libformw withot libncurses or
libtinfo.  puts() is in libtinfow. ./confugure fails, as it cannжв find puts() in the libraries it searches.  Fix
follows.

Regards
  Дилян

--- configure.ac~       2018-04-23 14:17:33.000000000 +0000
+++ configure.ac        2019-01-04 17:25:29.203795509 +0000
@@ -4045,7 +4045,7 @@
   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
+  for tputs_library in '' tinfo ncurses terminfo curses termcap tinfow; do
     OLIBS=$LIBS
     if test -z "$tputs_library"; then
       emacs_cv_tputs_lib='none required'