unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9741: 24.0.90; configure: prefer -ltinfo over -lncurses
@ 2011-10-12 18:54 Sven Joachim
  2011-12-26 15:28 ` Jan Djärv
  2012-05-01  1:08 ` Glenn Morris
  0 siblings, 2 replies; 4+ messages in thread
From: Sven Joachim @ 2011-10-12 18:54 UTC (permalink / raw)
  To: 9741; +Cc: 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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#9741: 24.0.90; configure: prefer -ltinfo over -lncurses
  2011-10-12 18:54 bug#9741: 24.0.90; configure: prefer -ltinfo over -lncurses Sven Joachim
@ 2011-12-26 15:28 ` Jan Djärv
  2011-12-26 18:24   ` Sven Joachim
  2012-05-01  1:08 ` Glenn Morris
  1 sibling, 1 reply; 4+ messages in thread
From: Jan Djärv @ 2011-12-26 15:28 UTC (permalink / raw)
  To: Sven Joachim; +Cc: 9741

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.
> 
> 






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#9741: 24.0.90; configure: prefer -ltinfo over -lncurses
  2011-12-26 15:28 ` Jan Djärv
@ 2011-12-26 18:24   ` Sven Joachim
  0 siblings, 0 replies; 4+ messages in thread
From: Sven Joachim @ 2011-12-26 18:24 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 9741

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#9741: 24.0.90; configure: prefer -ltinfo over -lncurses
  2011-10-12 18:54 bug#9741: 24.0.90; configure: prefer -ltinfo over -lncurses Sven Joachim
  2011-12-26 15:28 ` Jan Djärv
@ 2012-05-01  1:08 ` Glenn Morris
  1 sibling, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2012-05-01  1:08 UTC (permalink / raw)
  To: 9741-done

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).





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-05-01  1:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-12 18:54 bug#9741: 24.0.90; configure: prefer -ltinfo over -lncurses Sven Joachim
2011-12-26 15:28 ` Jan Djärv
2011-12-26 18:24   ` Sven Joachim
2012-05-01  1:08 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).