GNU bug report logs - #9741
24.0.90; configure: prefer -ltinfo over -lncurses

Previous Next

Package: emacs;

Reported by: Sven Joachim <svenjoac <at> gmx.de>

Date: Wed, 12 Oct 2011 18:55:01 UTC

Severity: wishlist

Found in version 24.0.90

Fixed in version 24.2

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9741 in the body.
You can then email your comments to 9741 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to svenjoac <at> gmx.de, bug-gnu-emacs <at> gnu.org:
bug#9741; Package emacs. (Wed, 12 Oct 2011 18:55:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sven Joachim <svenjoac <at> gmx.de>:
New bug report received and forwarded. Copy sent to svenjoac <at> gmx.de, bug-gnu-emacs <at> gnu.org. (Wed, 12 Oct 2011 18:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sven Joachim <svenjoac <at> gmx.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.90; configure: prefer -ltinfo over -lncurses
Date: Wed, 12 Oct 2011 20:54:10 +0200
Package: emacs
Severity: wishlist

It is possible to build a separate terminfo library from the ncurses
sources by configuring ncurses with the "--with-termlib" option.  This
library is usually called libtinfo, and several GNU/Linux distributions
are using this option; Fedora since Version 7 (May 2007), Ubuntu since
version 11.10 (to be released tomorrow) and Debian in testing/unstable
for two weeks.

If ncurses is built this way, Emacs only needs symbols from libtinfo,
but with the current `configure' script links against libncurses
unnecessarily.  It would be nice if `configure' were looking for
libtinfo and prefer to use -ltinfo over -lncurses.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9741; Package emacs. (Mon, 26 Dec 2011 15:31:01 GMT) Full text and rfc822 format available.

Message #8 received at 9741 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Sven Joachim <svenjoac <at> gmx.de>
Cc: 9741 <at> debbugs.gnu.org
Subject: Re: bug#9741: 24.0.90; configure: prefer -ltinfo over -lncurses
Date: Mon, 26 Dec 2011 16:28:17 +0100
Hello.

Is this regarded as a feature, for after the release?

	Jan D.

12 okt 2011 kl. 20:54 skrev Sven Joachim:

> Package: emacs
> Severity: wishlist
> 
> It is possible to build a separate terminfo library from the ncurses
> sources by configuring ncurses with the "--with-termlib" option.  This
> library is usually called libtinfo, and several GNU/Linux distributions
> are using this option; Fedora since Version 7 (May 2007), Ubuntu since
> version 11.10 (to be released tomorrow) and Debian in testing/unstable
> for two weeks.
> 
> If ncurses is built this way, Emacs only needs symbols from libtinfo,
> but with the current `configure' script links against libncurses
> unnecessarily.  It would be nice if `configure' were looking for
> libtinfo and prefer to use -ltinfo over -lncurses.
> 
> 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9741; Package emacs. (Mon, 26 Dec 2011 18:28:02 GMT) Full text and rfc822 format available.

Message #11 received at 9741 <at> debbugs.gnu.org (full text, mbox):

From: Sven Joachim <svenjoac <at> gmx.de>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 9741 <at> debbugs.gnu.org
Subject: Re: bug#9741: 24.0.90; configure: prefer -ltinfo over -lncurses
Date: Mon, 26 Dec 2011 19:24:27 +0100
On 2011-12-26 16:28 +0100, Jan Djärv wrote:

> Is this regarded as a feature, for after the release?

It's not particularly urgent, since libncurses is rather ubiquitous on
GNU/Linux, and the extra linkage probably does not have much impact on
startup time and memory footprint.

> 12 okt 2011 kl. 20:54 skrev Sven Joachim:
>
>> Package: emacs
>> Severity: wishlist
>> 
>> It is possible to build a separate terminfo library from the ncurses
>> sources by configuring ncurses with the "--with-termlib" option.  This
>> library is usually called libtinfo, and several GNU/Linux distributions
>> are using this option; Fedora since Version 7 (May 2007), Ubuntu since
>> version 11.10 (to be released tomorrow) and Debian in testing/unstable
>> for two weeks.
>> 
>> If ncurses is built this way, Emacs only needs symbols from libtinfo,
>> but with the current `configure' script links against libncurses
>> unnecessarily.  It would be nice if `configure' were looking for
>> libtinfo and prefer to use -ltinfo over -lncurses.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Tue, 01 May 2012 01:10:02 GMT) Full text and rfc822 format available.

Notification sent to Sven Joachim <svenjoac <at> gmx.de>:
bug acknowledged by developer. (Tue, 01 May 2012 01:10:02 GMT) Full text and rfc822 format available.

Message #16 received at 9741-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 9741-done <at> debbugs.gnu.org
Subject: Re: bug#9741: 24.0.90; configure: prefer -ltinfo over -lncurses
Date: Mon, 30 Apr 2012 21:08:27 -0400
Version: 24.2

Sven Joachim wrote:

> It would be nice if `configure' were looking for libtinfo and prefer
> to use -ltinfo over -lncurses.

Implemented (for gnu* systems).




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 29 May 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 343 days ago.

Previous Next


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