Le 24/01/2015 00:41, Enrico Forestieri a écrit :
On Tue, Jan 13, 2015 at 03:10:44PM +0100, Jean-Marc Lasgouttes wrote:
Le 13/01/2015 14:59, Jean-Marc Lasgouttes a écrit :
Le 13/01/2015 14:43, Enrico Forestieri a écrit :
C++ Compiler user flags: -g -O2
So you have explicitly set CXXFLAGS somewhere, or config.status remember
the old setting in its cache. Can you re-run ./configure with options?
I have removed the code where we set the value of CXXFLAGS. I only touch
AM_CXXFLAGS now. This allow users to override CXXFLAGS as they wish.
I think I understand what happens now. It is autoconf which is
playing with CXXFLAGS. I will fix that.
I just discovered that now also the --with-extra-prefix option is broken.
The inc and lib dirs are now assigned to AM_CPPFLAGS rather than CPPFLAGS
and configure fails to find include files that are not in the regular
search path.
Grmpf. So I have to modify the normal variables after all. But how are
users supposed to override CPPFLAGS at make time? Do you know whether
there is a set of rules to separate AM_xxx from plain xxx?
JMarc