From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29483 invoked by alias); 4 Oct 2015 23:49:14 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 36775 Received: (qmail 547 invoked from network); 4 Oct 2015 23:49:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=T6BWQBEKqm2lUeeK6j/VQf9t3HaoGwT3BQoblhyN3lg=; b=RBsUVKctypGSJjJoX0bqA0Y1rAFlAuEYUdKiBGDzd6mD5dFgFfqHDyLdajLyGIQLmE zyaFCLbD+qrFq5s2s/JDlqTIvgu/lpLQRed/R6PcnFiYHairEsMiF9PXNfIuJDsWyeLD R0WgQZTYhnGd9CvzTaWyEAjcNp2aJaHmalz/jFBlem10SrMl6wALdrdtG9m+Wen5PfMt hi0/PZ3bkpn3Xs6jrZBtyjRYFiDm+vOSLBihVG65CjQZMn7Ezov07qo+ZoIG2VNz8gCH UYh8zi3EXqbnyoKPilreN3MGBRxN25PMJy4hcqlRFmpP8wN20k5S5vMFQqZ0Ohjd+wsF L17Q== MIME-Version: 1.0 X-Received: by 10.140.98.238 with SMTP id o101mr35154051qge.70.1444002549722; Sun, 04 Oct 2015 16:49:09 -0700 (PDT) In-Reply-To: <151004135343.ZM17963@torch.brasslantern.com> References: <151003115520.ZM4622@torch.brasslantern.com> <151004135343.ZM17963@torch.brasslantern.com> Date: Mon, 5 Oct 2015 01:49:09 +0200 Message-ID: Subject: Re: Can be a module linked to library to which Zsh isn't linked? From: Mikael Magnusson To: Bart Schaefer Cc: zsh workers Content-Type: text/plain; charset=UTF-8 On Sun, Oct 4, 2015 at 10:53 PM, Bart Schaefer 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