ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/03/15/07:19:02

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
Date: Thu, 15 Mar 2001 13:18:37 +0100
From: "Lars J. Aas" <larsa AT sim DOT no>
To: Alexandre Oliva <oliva AT lsd DOT ic DOT unicamp DOT br>
Cc: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>,
cygwin-apps AT sources DOT redhat DOT com, autoconf AT gnu DOT org
Subject: Re: updated win32 macro
Message-ID: <20010315131837.A20123@sim.no>
References: <035401c0ac91$3ba21fd0$0200a8c0 AT lifelesswks> <022001c0accf$29b724d0$0200a8c0 AT lifelesswks> <orelvz60mr DOT fsf AT guarana DOT lsd DOT ic DOT unicamp DOT br>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <orelvz60mr.fsf@guarana.lsd.ic.unicamp.br>; from oliva@lsd.ic.unicamp.br on Thu, Mar 15, 2001 at 02:51:08AM -0300

On Thu, Mar 15, 2001 at 02:51:08AM -0300, Alexandre Oliva wrote:
: On Mar 14, 2001, "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> wrote:
: 
: >     version 2.. returns true/false now. I've also updated te sample code
: > to reflect this
: 
: Better use `:' instead of `true'.  I'm not sure `:' is more portable,
: but at least it's a built-in in more shells than `true'.

I agree, but I'd rather have the implementation/optimization details hidden
in some autoconf-provided variables like $as_true and $as_false - it would
be less obfuscating.  Then you could set $as_true to ":" and perhaps $as_false
to "(exit 1)" if "false" for some reason does not work on a system.

  Lars J

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019