bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Autoconf test version 2.59d available


From: Akim Demaille
Subject: Re: GNU Autoconf test version 2.59d available
Date: Sat, 17 Jun 2006 17:49:35 +0200


Le 17 juin 06 à 09:06, Ralf Wildenhues a écrit :

Hello Akim,

* Akim Demaille wrote on Tue, Jun 13, 2006 at 12:14:15PM CEST:

I would like to suggest embedding a probe in Autoconf's test suite to
check whether `!' (not as an argument to `test', but as a prefix for
any command) is portable or not.  The documentation says it is not
portable, but I haven't seen a machine that doesn't support it.  Yet
it is very handy in many situations.

$ cat foo.sh
if ! false; then echo yes; fi
$ /bin/sh foo.sh
foo.sh: !: not found
$ config.guess
alphaev67-dec-osf5.1

It also fails with Solaris /bin/sh, as documented in "Limitations of
Builtins".

Good to know (again), thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]