From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5092 invoked from network); 15 Aug 2000 06:16:30 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Aug 2000 06:16:30 -0000 Received: (qmail 29020 invoked by alias); 15 Aug 2000 06:16:03 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12632 Received: (qmail 29012 invoked from network); 15 Aug 2000 06:16:02 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "Bart Schaefer" , "ZSH workers mailing list" Subject: RE: PATCH: Cygwin - second go. Date: Tue, 15 Aug 2000 10:15:51 +0400 Message-ID: <000001c00680$42f44860$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) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <1000815050838.ZM18590@candle.brasslantern.com> Importance: Normal > > Seems to compile OK on linux, I'll commit the patch. > > I just noticed, however that under autoconf 2.13 the definion of AC_CYGWIN > doesn't work right if you follow it with a `dnl' directive. It ends up > merging with the expansion of AC_EXEEXT that follows it, so a configure > script generated from autoconf 2.13 won't ever set CYGWIN=yes properly. > > The solution is either to remove the `dnl' comment from the line with > the AC_CYGWIN call, or simply to put a blank line after it, which is > what I did. > Yes, I knew it; that why I used ac_cv_cygwin and not CYGWIN. Are you sure, it is a problem of missing empty line? Look, what is generated: CYGWIN= test "$ac_cv_cygwin" = yes && CYGWIN=yes echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 that is, CYGWIN is set in environment of `echo' command and lost after this. This expansion is part of AC_CYGWIN and has nothing to do with AC_EXEEXT. There is no way to change it. I even believe to have seen a bug report once, but currently querying autoconf bug database yields no result. -andrej