autoconf
[Top][All Lists]
Advanced

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

Re: Autoconf does not like "-D_FORTIFY_SOURCE=2 -O2"


From: Paul Eggert
Subject: Re: Autoconf does not like "-D_FORTIFY_SOURCE=2 -O2"
Date: Wed, 08 May 2013 14:11:28 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

On 05/08/13 11:26, Anatol Pomozov wrote:
> Why autoconf uses CPPFLAGS
> (and not CPPFLAGS+CXXFLAGS) for headers discovery?

It's a long story, but basically autoconf used to invoke
just the preprocessor to test for header existence, partly
on the grounds of making 'configure' go faster.  That turns
out to have problems, so it now tries to compile as well,
optionally, using a heuristic that I don't recall right now.
I expect that the goal is that it'll use the compiler exclusivly,
but doing that will require some developer effort, and nobody
has had the time and inclination to carry that through.



reply via email to

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