From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23068 invoked from network); 6 Jul 2001 08:55:03 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Jul 2001 08:55:03 -0000 Received: (qmail 4183 invoked by alias); 6 Jul 2001 08:53:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15275 Received: (qmail 4154 invoked from network); 6 Jul 2001 08:53:54 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "Bart Schaefer" , Subject: RE: I hate it when you break my static link Date: Fri, 6 Jul 2001 12:54:33 +0400 Message-ID: <004c01c105f9$46e67af0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <1010706084117.ZM11494@candle.brasslantern.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 > } I guess it should be changed to conditionally enable building only if > } prerequisites (pcre) is found. I do not see any point in having load of > } dummy modules all of them defining aliases for bin_notavail. > > The problem is that failure to (auto)load a module is an abortive error > (i.e. kills entire scripts/functions), whereas bin_notavail is a simple > command failure. This makes it difficult to decide whether to omit a > module entirely or give it a clean failure mode. > Module that can be not available should never be autoloaded. Then it is quite easy zmodload -e foo || zmodload -q foo || exit 1 while you cannot distinguish failed command from not-available. > Being halfway in between is the problem. > Agreed. If module is not built all auto* in mdd should be ignored. -andrej