Hi Andreas,
* Andreas Schwab wrote on Fri, Oct 24, 2008 at 11:19:09PM CEST:
> Ralf Wildenhues <[EMAIL PROTECTED]> writes:
>
> > - many vendor shells complain about 'test -z' without further argument:
>
> A POSIX-compliant test won't, and returns zero.
Yeah, all those shells aren't compliant. Solaris sh even seems to abort
the script.
FWIW, the Autoconf manual documents this, too (for -n instead of -z, but
I guess that can be inferred):
`test' (strings)
Posix says that `test "STRING"' succeeds if STRING is not null,
but this usage is not portable to traditional platforms like
Solaris 10 `/bin/sh', which mishandle strings like `!' and `-n'.
Cheers,
Ralf
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool