RE: finding the value of a preprocessor symbol

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

 



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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux