[Top][All Lists]

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

Detect Autoconf run in preprocessor?

From: Jeffrey Walton
Subject: Detect Autoconf run in preprocessor?
Date: Fri, 15 Jul 2016 14:06:41 -0400

We are trying to find a solution for

We are contemplating detecting an Autoconf run in the preprocessor,
and then (if its Autoconf) disabling the test that triggers the

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.

Thanks in advance.

reply via email to

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