[Top][All Lists]

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

Re: autconf, configure & purify...

From: Ralf Wildenhues
Subject: Re: autconf, configure & purify...
Date: Sat, 25 Oct 2008 09:43:51 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Andreas,

* Andreas Schwab wrote on Fri, Oct 24, 2008 at 11:19:09PM CEST:
> Ralf Wildenhues <address@hidden> 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'.


reply via email to

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