autoconf
[Top][All Lists]
Advanced

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

RE: finding the value of a preprocessor symbol


From: Thomas Dickey
Subject: RE: finding the value of a preprocessor symbol
Date: Thu, 21 Jan 2010 19:29:33 -0500 (EST)

On Thu, 21 Jan 2010, David Byron wrote:

On Thursday, January 21, 2010, John Calcote wrote:
On 1/21/2010 4:38 PM, David Byron wrote:
$ cpp -dM foo.h | grep FOO
#define FOO an_interesting_value

Good idea.  Replace cpp -dM with $CPP $CPPFLAGS and I'm getting close.  Also
starting to convince myself I'm barking up the wrong tree...

There is also $ac_cpp, but autoconf maintainers have declined to treat _any_ of the variables as documented.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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