GNU bug report logs - #33977
/configure.ac: search for puts() in libtinfow

Previous Next

Package: emacs;

Reported by: Дилян Палаузов <dilyan.palauzov <at> aegee.org>

Date: Fri, 4 Jan 2019 18:07:02 UTC

Severity: normal

Tags: fixed

Merged with 35342

Found in version 26.2

Fixed in versions 26.3, 27.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Дилян Палаузов
 <dilyan.palauzov <at> aegee.org>
Subject: bug#33977: closed (Re: bug#33977: /configure.ac: search for
 puts() in libtinfow)
Date: Tue, 08 Jan 2019 01:49:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 33977 <at> debbugs.gnu.org.

-- 
33977: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33977
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 33977-done <at> debbugs.gnu.org
Subject: Re: bug#33977: /configure.ac: search for puts() in libtinfow
Date: Mon, 07 Jan 2019 20:48:16 -0500
Version: 27.1

commit a3d52b3
Author: Paul Eggert <eggert <at> cs.ucla.edu>
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'

[Message part 3 (message/rfc822, inline)]
From: Дилян Палаузов
 <dilyan.palauzov <at> aegee.org>
To: bug-gnu-emacs <at> gnu.org
Subject: /configure.ac: search for puts() in libtinfow
Date: Fri, 04 Jan 2019 18:06:47 +0000
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'




This bug report was last modified 6 years and 77 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.