-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Eric Olsen on 5/28/2009 8:22 PM:
>  - found in Amanda 2.6.1p1\configure file:
>    # Generated by GNU Autoconf 2.63.
> 
> # grep gtar config.log
> configure:31920: checking for gtar
> configure:31938: found /usr/local/bin/gtar
> configure:31950: result: /usr/local/bin/gtar
> configure:31970: WARNING: /usr/local/bin/gtar is not GNU tar, so it will
> not be used.

This is a bug in Amanda's configure.ac (or subsidiary file), not Autoconf,
since the Autoconf sources do not include the word gtar.  Please report
this to the Amanda team.

>  - traced down to line 31970 in generated configure file:
> 
>    case "`\"$GNUTAR\" --version 2>&1`" in

This is the bug.  Using " inside double-quoted `` is non-portable:
http://www.gnu.org/software/autoconf/manual/autoconf.html#Shell-Substitutions

For that matter, case does not required double-quoting.  So the Amanda
folks are better off writing this as:

case `"$GNUTAR" --version 2>&1` in

- --
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

iEYEARECAAYFAkof1U0ACgkQ84KuGfSFAYC4JgCgyITkBUP18Eu8Dyq+b9uo5l5q
O8UAoKJNFKk3PQGzuQQ0xvu0lPBGW9BS
=R3VF
-----END PGP SIGNATURE-----


Reply via email to