bug-autoconf
[Top][All Lists]
Advanced

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

Re: Autoconf Bug in 2.63 When Looking for GTAR on Amanda 2.6.1p1 on Open


From: Eric Blake
Subject: Re: Autoconf Bug in 2.63 When Looking for GTAR on Amanda 2.6.1p1 on OpenBSD 4.5
Date: Fri, 29 May 2009 06:30:05 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

-----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             address@hidden
-----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

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