delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-apps-owner AT sourceware DOT cygnus DOT com |
List-Subscribe: | <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-apps/> |
List-Post: | <mailto:cygwin-apps AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs> |
Delivered-To: | mailing list cygwin-apps AT sources DOT redhat DOT com |
Message-ID: | <038401c0ac94$03a1da50$0200a8c0@lifelesswks> |
From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
To: | "Lars J. Aas" <larsa AT sim DOT no> |
Cc: | <cygwin-apps AT sources DOT redhat DOT com>, <autoconf AT gnu DOT org> |
References: | <035401c0ac91$3ba21fd0$0200a8c0 AT lifelesswks> <20010314153308 DOT A7048 AT sim DOT no> |
Subject: | Re: -mwin32 test macro |
Date: | Thu, 15 Mar 2001 01:35:26 +1100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.50.4133.2400 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
X-OriginalArrivalTime: | 14 Mar 2001 14:29:31.0254 (UTC) FILETIME=[2ED95960:01C0AC93] |
Thanks. I'll do a new one up with that change (and any others suggested in the meantime). It's quite late where I am (1:30 am) so that'll be tomorrow :] Rob ----- Original Message ----- From: "Lars J. Aas" <larsa AT sim DOT no> To: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> Cc: <cygwin-apps AT sources DOT redhat DOT com>; <autoconf AT gnu DOT org> Sent: Thursday, March 15, 2001 1:33 AM Subject: Re: -mwin32 test macro > On Thu, Mar 15, 2001 at 01:15:31AM +1100, Robert Collins wrote: > : It sets ac_cc_win32 to yes or no as appropriate, so test writers in > : configure.in can do an AC_SUBST or AC_DEFINE and switch off bits of > : their code, or do as above, and fail the configure script. > > It's more useful to set it to "true" / "false". Then you can write > > if $ac_cc_win32; then > ... > fi > > instead of having to do a string comparison like > > if test x"$ac_cc_win32" = x"yes"; then > ... > fi > > Lars J > -- > Innovation is one percent inspiration and ninetynine percent perspiration, > and in my case; twice that... -- Norville Barnes, `The Hudsucker Proxy' >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |