On Wednesday 28 September 2005 10:04 am, Andreas Schwab wrote:
> Akim Demaille <[EMAIL PROTECTED]> writes:
> > if (local foo) >/dev/null 2>&1; then :; else
> > local () { true; }
> > fi
>
> Note that local is only valid in function context, so this will always
> produce a failure.
For pedant points, that's true for `bash', but not so for `ksh' (at least,
not on the SunOS 5 box I checked on). :-)
Of course, that's pretty much irrelevant, since you have to cater to all
likely scenarii.
Cheers,
Keith.
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf