Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: zsh/termcap and zsh/terminfo modules
- X-seq: zsh-workers 13925
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: Re: zsh/termcap and zsh/terminfo modules
- Date: Mon, 9 Apr 2001 16:09:02 +0000
- In-reply-to: <20010409115241.A4549@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1010405001506.ZM644@xxxxxxxxxxxxxxxxxxxxxxx> <001801c0bd94$16f37f80$21c9ca95@xxxxxxxxxxxxxx> <20010405095812.A18353@xxxxxxxx> <1010406183939.ZM14729@xxxxxxxxxxxxxxxxxxxxxxx> <20010409091249.A1844@xxxxxxxx> <1010409154550.ZM29096@xxxxxxxxxxxxxxxxxxxxxxx> <20010409115241.A4549@xxxxxxxx>
On Apr 9, 11:52am, Clint Adams wrote:
}
} What I mean is, have configure determine what libraries are necessary
} for each module, then link that module with the necessary libraries. If
} the required symbols are unavailable, do not link the module.
} So you wouldn't get a terminfo.so if you didn't have gettistr,
} but terminfo.so would be the only thing linked against ncurses if that's
} the only module that requires it.
Ah. Yes, that would be superior.
I notice that configure.in does not have an AC_SEARCH_LIBS for tigetstr,
only for tgetent. That's why the ncurses library is never found on my
system -- the way configure.in is currently organized, tigetstr will be
found only if it is in the same library in which tgetent is found; and
termcap is always searched first except on aix, hpux, and solaris, so for
most systems that have termcap the zsh/terminfo module will be disabled.
Independent of linking modules with their own libraries, what's the right
way to deal with this?
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author