bug-autoconf
[Top][All Lists]
Advanced

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

Re: AC_INIT regression not completely fixed


From: Eric Blake
Subject: Re: AC_INIT regression not completely fixed
Date: Thu, 05 Aug 2010 10:49:29 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100803 Red Hat/3.1.2-1.el6 Mnenhy/0.8.3 Thunderbird/3.1.2

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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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