--- Begin Message ---
Subject: |
/configure.ac: search for puts() in libtinfow |
Date: |
Fri, 04 Jan 2019 18:06:47 +0000 |
User-agent: |
Evolution 3.31.4 |
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'
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#33977: /configure.ac: search for puts() in libtinfow |
Date: |
Mon, 07 Jan 2019 20:48:16 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Version: 27.1
commit a3d52b3
Author: Paul Eggert <address@hidden>
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'
--- End Message ---