autoconf
[Top][All Lists]
Advanced

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

Re: Detect Autoconf run in preprocessor?


From: Bob Friesenhahn
Subject: Re: Detect Autoconf run in preprocessor?
Date: Fri, 15 Jul 2016 13:35:20 -0500 (CDT)
User-agent: Alpine 2.20 (GSO 67 2015-01-07)

On Fri, 15 Jul 2016, Jeffrey Walton wrote:

Is there a preprocessor macro defined by Autotools to detect when
software is being configured by the tool? My apologies for asking; I
cannot simply run `g++ -dM -E - </dev/null` because it will lack
Autoconf specific defines.

Everything that Autoconf defines should be visible in the generated config.log file. The source for each test case is included.

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



reply via email to

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