zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh workers <zsh-workers@zsh.org>
Subject: Re: Can be a module linked to library to which Zsh isn't linked?
Date: Mon, 5 Oct 2015 01:49:09 +0200	[thread overview]
Message-ID: <CAHYJk3TFqZmmDom2h5BxMsa5KT_78RvjurmVVtLpNohW_KP2qA@mail.gmail.com> (raw)
In-Reply-To: <151004135343.ZM17963@torch.brasslantern.com>

On Sun, Oct 4, 2015 at 10:53 PM, Bart Schaefer
<schaefer@brasslantern.com> wrote:
> On Oct 4,  6:49pm, Sebastian Gniazdowski wrote:
> }
> } What bothers me is that someone who builds zsh against termcap or
> } terminfo loses curses module. Having a bit of separate tests in
> } configure against libraries needed by modules but not zsh itself would
> } solve this. Is Zsh open for such change?
>
> Certainly, we'll take improvements to the configure script.  I've also
> noticed that it checks more than once for some dependencies; there's
> probably a lot that could be done.

I've been using this patch for ages,
http://cgit.mika.l3ib.org/cgit/zsh-cvs/commit/?h=mika&id=c6a582b4c4f84677cb096a8d2223707545779d58
as the commit says, it's a hack though. I remember someone mentioning
when I brought it up last time that there could be systems where the
main binary has to link the libraries, but as far as I know that only
applies if the main binary actually uses symbols from those libraries
directly. I only know about linux libcs though, so maybe I'm wrong. It
would be nice to have the option for it though.

-- 
Mikael Magnusson


  reply	other threads:[~2015-10-04 23:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-03 14:24 Sebastian Gniazdowski
2015-10-03 18:55 ` Bart Schaefer
2015-10-04 16:49   ` Sebastian Gniazdowski
2015-10-04 20:53     ` Bart Schaefer
2015-10-04 23:49       ` Mikael Magnusson [this message]
2015-10-05  8:44       ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHYJk3TFqZmmDom2h5BxMsa5KT_78RvjurmVVtLpNohW_KP2qA@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).