-----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 argument to 'test -z'.  So use
>   if test -z "$PURIFY"; ...

Actually, if $PURIFY is empty, the test will still return exit status 0,
since "-z" is a lone, non-empty argument.  Silent misbehavior is even
worse than a shell complaint (you want exit status 1 if $PURIFY is empty).

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkBrqUACgkQ84KuGfSFAYCvAACgz0sOa3dnCbxeS8P+ZApdgFZX
fiQAnR9tBotmecDCsTAwDTHowq8/QQ5t
=/whq
-----END PGP SIGNATURE-----


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to