[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 22:45:34 +0800
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:18.104.22.168) Gecko/20100805 Icedove/3.0.6
On 23/08/10 22:11, Eric Blake wrote:
[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 found
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.
The macro AX_CFLAGS_GCC_OPTION is the one distributed in the package
more specifically this macro is defined in the file`ax_cflags_gcc_option.m4'