From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10058 invoked from network); 9 Jun 1999 15:14:26 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 9 Jun 1999 15:14:26 -0000 Received: (qmail 23290 invoked by alias); 9 Jun 1999 15:13:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6556 Received: (qmail 23275 invoked from network); 9 Jun 1999 15:13:39 -0000 From: "Andrej Borsenkow" To: "Peter Stephenson" , "Zsh hackers list" Subject: PATCH: RE: LFS and explicit LIBS RE: pws-21 Date: Wed, 9 Jun 1999 19:12:36 +0400 Message-ID: <000201beb28a$81e4d080$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <9906080850.AA22875@ibmth.df.unipi.it> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 > > > May be, for items, that are empty (LFS_CFLAGS, LFS_LDFLAGS etc) we > > should not disable LFS? > > Yes, that's a possibility. > > -- The patch below tries this. /andrej --- aczsh.m4.org Wed Jun 9 18:45:55 1999 +++ aczsh.m4 Wed Jun 9 19:00:20 1999 @@ -41,11 +41,13 @@ CPPFLAGS) ac_lfsvar=LFS_CFLAGS ;; *) ac_lfsvar=LFS_$ac_shellvar ;; esac - eval test '"${'$ac_shellvar'+set}"' = set && ac_set=$ac_shellvar (getconf $ac_lfsvar) >/dev/null 2>&1 || { ac_result=no; break; } ac_getconf=`getconf $ac_lfsvar` - ac_getconfs=$ac_getconfs$ac_getconf - eval ac_test_$ac_shellvar="\$ac_getconf" + if test -n "$ac_getconf"; then + eval test '"${'$ac_shellvar'+set}"' = set && ac_set=$ac_shellvar + ac_getconfs=$ac_getconfs$ac_getconf + eval ac_test_$ac_shellvar="\$ac_getconf" + fi done case "$ac_result$ac_getconfs" in yes) ac_result=no ;;