Ralf Wildenhues <[EMAIL PROTECTED]> writes:
> - many vendor shells complain about 'test -z' without further argument:
A POSIX-compliant test won't, and returns zero.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP
Hi Eric,
* Eric Blake wrote on Fri, Oct 24, 2008 at 01:16:53PM CEST:
> According to Ralf Wildenhues on 10/24/2008 12:39 AM:
> >> AC_CHECK_PROGS(PURIFY,purify purify2002)
> >>
> >> if test -z $PURIFY; then
> >
> > This however does need quoting: if $PURIFY can ever be empty, then the
> > shell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Ralf Wildenhues on 10/24/2008 12:39 AM:
>> AC_CHECK_PROGS(PURIFY,purify purify2002)
>>
>> if test -z $PURIFY; then
>
> This however does need quoting: if $PURIFY can ever be empty, then the
> shell will complain about a missing argume
Eric Blake <[EMAIL PROTECTED]> writes:
> According to Ben Pfaff on 10/23/2008 10:06 PM:
>>> AC_ARG_ENABLE([purify],
>>> [AS_HELP_STRING([--enable-purify], [build with Purify [default=no]]),
>>
>> The Autoconf manual explicitly recommends underquoting
>> AS_HELP_STRING (though not its arguments)