IFNAMES(1)
β¨ IFNAMES(1) β¨
ok so this is the ifnames manual page, bestie, and it lives in the User Commands section π
it's a lil GNU Autoconf tool and it is lowkey iconic, let's get into it π«Ά
πΈ NAME πΈ
ifnames β extract CPP conditionals from a set of files π
π¦ SYNOPSIS π¦
ifnames [OPTION]... [FILE]...
π DESCRIPTION π
okay so here's the whole vibe: it scans all of the C source FILES (or, if you didn't give it any files at all, it just reads from the standard input instead π) and then it writes to the standard output a sorted list of every single identifier that shows up in those files inside #if, #elif, #ifdef, or #ifndef directives. no cap, that's the whole job β¨
and the way it formats it?? each identifier gets printed on a line, followed by a space-separated list of the files in which that identifier occurs π« so you can see exactly which file said what. it's giving receipts, fr fr π
here are the options, and yes there are only two, she's a minimal queen π
-h,--helpβ prints the help text, then exits π«Ά-V,--versionβ prints the version number, then exits π
π AUTHOR π
Written by David J. MacKenzie and Paul Eggert. legends, honestly π
π REPORTING BUGS π
found a bug?? pls report it to <bug-autoconf@gnu.org> π
- GNU Autoconf home page:
<http://www.gnu.org/software/autoconf/>π - General help using GNU software:
<http://www.gnu.org/gethelp/>π
π COPYRIGHT π
Copyright Β© 2009 Free Software Foundation, Inc. π
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it. π
There is NO WARRANTY, to the extent permitted by law. β οΈ like, none. zero. nada. so don't come for her if something breaks, bestie π
π SEE ALSO π
the whole friend group, periodt:
autoconf(1)automake(1)autoreconf(1)autoupdate(1)autoheader(1)autoscan(1)config.guess(1)config.sub(1)ifnames(1)libtool(1)
also!! the full documentation for ifnames is maintained as a Texinfo manual π and if the info and ifnames programs are properly installed at your site, then this command:
info ifnames
should give you access to the complete manual β¨ go read it, it's right there π¦
ok that's the whole page!! this was GNU Autoconf 2.64, dated July 2009 β yes she's a lil vintage but she still ate π mwah, ily, go extract some conditionals π«Άπβ¨
π¦ where this page comes from
- debian bookworm: autoconf2.64 2.64+dfsg-1.1
- ubuntu jammy: autoconf2.64 2.64+dfsg-1
- ubuntu noble: autoconf2.64 2.64+dfsg-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms