This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: updated win32 macro
On Thu, Mar 15, 2001 at 02:51:08AM -0300, Alexandre Oliva wrote:
: On Mar 14, 2001, "Robert Collins" <robert.collins@itdomain.com.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