bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure: --with-termlib vs --disable-tic-depends


From: Thomas Dickey
Subject: Re: configure: --with-termlib vs --disable-tic-depends
Date: Tue, 11 Oct 2011 18:03:59 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Oct 11, 2011 at 05:27:42PM +0200, Sven Joachim wrote:
> The INSTALL file says the following about the --disable-tic-depends:
> 
>     --disable-tic-depends
>       When building shared libraries, normally the tic library is linked to
>       depend upon the ncurses library (and in turn, on the term-library if
>       the --with-termlib option was given).  The tic- and term-libraries
>       ABI does not depend on the --enable-widec option. Some packagers have
>       used this to reduce the number of library files which are packaged
>       by using only one copy of those libraries.  To make this work properly,
>       the tic library must be built without an explicit dependency on the
>       ncurses (or ncursesw) library.  Use this configure option to do that.
>       For example
>               configure --with-ticlib --with-shared --disable-tic-depends
> 
> However, the current Debian packages are configured with
> --with-termlib=tinfo, but without --disable-tic-depends, and yet libtic
> only depends on libtinfo, not on libncurses.  So this option does not
> actually seem to be necessary.
> 
> Am I missing something?

No - libtic doesn't use any symbols from libncurses after libtinfo is
factored out.  But it seems that I added this option at a point in time
when the --with-termlib option wasn't much used, and neglected to
complete this description to show the various alternatives.  So it's
a documentation problem.

Outside of the regular ncurses utilities (tic, infocmp) and
the separate programs tack and tctest, I don't know of any applications 
that use libtic - none of those depend upon libncurses.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]