Summary

Find configuration macros used in #ifdex/#ifndef/#elif lines.

Searches a C or C++ code tree attempting to report a list of configuration macros - that is, symbols set by autoconf or some other configuration-management and/or build system during compiles. Also useful for catching stray and broken guard symbols.

Resources


NEWSproject news
ifdex-1.5.tar.gzgzipped source tarball
COPYINGproject license
READMEroadmap file
ifdex.htmlDocumentation

The project repository is at https://gitlab.com/esr/ifdex.

If you appreciate this code (and especially if you make money by using it) please support me on Patreon.

Recent Changes

   Add more standard symbols.
   Added -u option to list exclude symbols not matched.

Supporters

This work is funded by...

My Bronze supporters on Patreon: Martin Hohenberg, Jae Yang, Daniel Garber, Kyle Burkholder, Mike Nichols, Mark Ping, Tom Taylor, Arnold F. Williams, George Brower, Michael Nygard, Brendan Long, Sven Dowideit, Dave Witten, Jonathan Cast, James Cronin, David L. Jessup, Christopher Chang, Killer Delicious, Jacob Lyles, Neil Anuskiewicz, Mordant, Clemens Ladisch, Wojciech Woytniak, Masa Bando, John Carmack, Xingyu Wang, Jane Tang, Steven Evans, Jan Roudaut, Hsueh Sung, Ken LaCrosse, taishi28012, John Simpson, Jerod Tufte, Paul Abbott, Stan Witherspoon, Donald Greer, Gratiela Chergu, Michael Ciagala, Dale Carstensen, Chip Davis.

My Institutional supporters on Patreon: Jason Azze and the DEVOPS team at his $DAYJOB, Mark Atwood, Christoph Happle.

Become a Patreon patron!