On 08/05/2010 02:08 AM, Yavor Doganov wrote:
> Seen while bootstrapping GNOME with 2.67:
> 
> cat > configure.ac <<EOF
> AC_INIT([GNOME Foo], [2.31.6],
>       [http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-foo],
>       [gnome-foo])
> AC_OUTPUT
> EOF
> 
> autoconf
> configure.ac:1: warning: AC_INIT: not a literal: 
> http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-foo

Thanks for the report.  I agree that a URL with ? should be allowable as
a bug reporting string.

For 2.67, we only fixed AC_INIT for the first two arguments
(package-name and version).  But your example is a good reason why the
bug-report argument (and AC_PACKAGE_BUGREPORT) should likewise be
relatively permissive in allowed characters, while equally documenting
that you must not expand AC_PACKAGE_BUGREPORT outside of a quoted
context (since ? is a glob character and you do not want to trigger
inadvertent file name expansion).

I'll work on a patch, although it may be a few days (I've got some other
things that are taking my priority at the moment).

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to