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

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 14:12:56 +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: <20010315141256.A21448@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> <20010315131837 DOT A20123 AT sim DOT no>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010315131837.A20123@sim.no>; from larsa@sim.no on Thu, Mar 15, 2001 at 01:18:37PM +0100

On Thu, Mar 15, 2001 at 01:18:37PM +0100, Lars J. Aas wrote:
: 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.

Just "(exit 1)" didn't work, but this does:

as_true=":"
as_false="eval (exit 1)"

Don't know what's more optimal of that and fork + exec /bin/false.  Could
probably go the way of fork + eval...

  Lars J
-- 
Innovation is one percent inspiration and ninetynine percent perspiration,
and in my case; twice that...  -- Norville Barnes, `The Hudsucker Proxy'

- Raw text -


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