[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#593838: autoconf: macro AX_CFLAGS_GCC_OPTION does not work with
Re: Bug#593838: autoconf: macro AX_CFLAGS_GCC_OPTION does not work with equation argument (as '-std=c99')
Mon, 23 Aug 2010 08:11:35 -0600
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:126.96.36.199) Gecko/20100806 Fedora/3.1.2-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.2
[adding autoconf-archive list, as owner of the AX_CFLAGS_GCC_OPTION macro]
On 08/21/2010 07:52 AM, Ralf Wildenhues wrote:
tags + upstream
[ http://bugs.debian.org/593838 ]
* Jerome BENOIT wrote on Sat, Aug 21, 2010 at 02:58:28PM CEST:
produces a boggus configure script.
Confirmed with upstream git Autoconf:
aclocal -I /path/to/autoconf-archive/m4
checking CFLAGS for gcc -std=c99... ./configure: line 2493:
ax_cv_cflags_gcc_option__std_c99=no, unknown: command not found
./configure: line 2516: ax_cv_cflags_gcc_option__std_c99=-std=c99: command not
I'm wondering if the AX_CFLAGS_GCC_OPTION macro is at fault here, or if
it is a true regression in autoconf.
Because it appeared that the trouble comes
from the equal (`=`) I guess it is an autoconf
issue: line as
Note that with the previous version of autoconf (2.65-4) everything
was fine. As a matter of fact, I suspect that the issue may be
related to bug #593546 , but I can not confirm this part of the story.
Related yes, but #593546 is about '*' and this is about '='.
I think it is obvious that something changed so that
AX_CFLAGS_GCC_OPTION is no longer transliterating = into _ when creating
the cache variable name. But I don't know where the fault lies without
seeing the implementation of this macro.
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
- Re: Bug#593838: autoconf: macro AX_CFLAGS_GCC_OPTION does not work with equation argument (as '-std=c99'),
Eric Blake <=