[Top][All Lists]

[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

From: Jerome BENOIT
Subject: Re: Bug#593838: autoconf: macro AX_CFLAGS_GCC_OPTION does not work with equation argument (as '-std=c99')
Date: Mon, 23 Aug 2010 22:45:34 +0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100805 Icedove/3.0.6

Hi !

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

[ ]

Hi Jerome,

* Jerome BENOIT wrote on Sat, Aug 21, 2010 at 02:58:28PM CEST:
Version: 2.67-2


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


works well.

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 
autoconf-archive (20090426-1),
more specifically this macro is defined in the file`ax_cflags_gcc_option.m4'


reply via email to

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