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: List-Archive: List-Post: List-Help: , 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" To: Alexandre Oliva Cc: Robert Collins , 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> <20010315131837 DOT A20123 AT sim DOT no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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'