|
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_valueGood 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
[Prev in Thread] | Current Thread | [Next in Thread] |