From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13910 invoked from network); 19 Apr 2001 17:16:07 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 19 Apr 2001 17:16:07 -0000 Received: (qmail 3988 invoked by alias); 19 Apr 2001 17:16:00 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14040 Received: (qmail 3976 invoked from network); 19 Apr 2001 17:15:59 -0000 Sender: kiddleo Message-ID: <3ADF1D4C.EAE735E3@u.genie.co.uk> Date: Thu, 19 Apr 2001 18:15:56 +0100 From: Oliver Kiddle X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.15 i686) X-Accept-Language: en MIME-Version: 1.0 To: zsh-workers@sunsite.dk Subject: Re: PATCH: honor STRIPFLAGS for modules References: <20010418213942.A15845@dman.com> <3ADEC96C.5D8DC609@u.genie.co.uk> <20010419084000.A18361@dman.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Clint Adams wrote: > > symbols or something. -x can be used instead and will just strip out > > stuff which isn't needed. -s is still used for the main binary. > > So is the solution to use a different variable name for modules? Probably. I seem to remember seeing such a variable somewhere so there may be a standardish name. It might be worth having a look at libtool and imake to see if they have such a variable. Not that libtool is very good at handling systems other than Linux - it doesn't use IRIX's kernel DSO versioning for instance. > What about libzsh? I can't see that libzsh is any different to any other shared objects. And in the 'reduce unnecessary linking thread': > > What was wrong with AC_SEARCH_LIBS? > > It adds the library to LIBS, which would be counterproductive. Does zsh_SEARCH_LIBS really need to do everything with AC_TRY_LINK_FUNC then - couldn't it just save and restore LIBS and use AC_SEARCH_LIBS? That said, I haven't looked at your change in detail so may be missing the point. I agree with Andrej that we should be careful about these changes before 4.0.1 because of the potential to break the compile on a particular platform. It seems to be adding quite a bit of complexity. Do redundant libraries in LIBS matter much? If I remember correctly, IRIX displays a warning but doesn't actually link the library in. Oliver