IFNAMES(1)
π IFNAMES2.13 π β like, the whole manual, but make it make sense
okay bestie, sit down, grab a boba π§ because we're talking about ifnames2.13 from the General Commands Manual, section 1. she's a little script, she's a little genius, and she's about to tell you which preprocessor identifiers your codebase is already out here using. periodt. π
β¨ NAME β¨
ifnames2.13 β print identifiers that a package uses in C preprocessor conditionals π
πΈ SYNOPSIS πΈ
ifnames2.13 [ --help | -h ] [ --macrodir=dir | -m dir ] [ --version ]
that's it. that's the whole vibe. short queen, minimal drama. π
π DESCRIPTION π
okay so ifnames2.13 is literally your bestie when you're writing a configure.in for a software package. π«Ά she prints out the identifiers that the package already uses in C preprocessor conditionals. so if your package has already been set up to have some portability, this program helps you figure out what its configure needs to check for. no cap. she may even help you fill in some gaps in a configure.in generated by autoscan2.13 (go peek at autoscan2.13(1), iykyk π).
here's the actual tea, fr fr: ifnames2.13 scans all of the C source files named on the command line β or the standard input, if none are given π«£ β and writes to the standard output a sorted list of all the identifiers that appear in those files inside #if, #elif, #ifdef, or #ifndef directives. she prints each identifier on a line, followed by a space-separated list of the files in which that identifier occurs. iconic behaviour honestly. β¨
and like, ifnames2.13 accepts the following options:
--help-hβ print a summary of the command line options and exit. bye bestie, love u, here's the cheat sheet π--macrodir=DIR-m DIRβ look for the installed macro files in directoryDIR. you can also set theAC_MACRODIRenvironment variable to a directory; this option overrides the environment variable. the flag is the main character here, the env var is just the supporting cast. π--versionβ print the version number of Autoconf and exit. yes, of Autoconf. she said family name first. π¦
π SEE ALSO π
go read all of them, they're her sisters, they're a whole squad π
π AUTHORS π
David MacKenzie, with help from Franc,ois Pinard, Karl Berry, Richard Pixley, Ian Lance Taylor, Roland McGrath, Noah Friedman, David D. Zuhn, and many others. π
this manpage was written by Ben Pfaff <pfaffben@debian.org> for the Debian GNU/Linux autoconf2.13 package. shoutout Ben, he ate and left no crumbs π
ngl that's the entire page. every flag, every variable, every name, all of it. she's thorough AND cute. the range. ππ
and that's a wrap on this little manual β brought to you by Autoconf, serving looks in section 1 of the General Commands Manual. mwah, xoxo, go run it bestie πβ¨
π¦ where this page comes from
- debian bookworm: autoconf2.13 2.13-69
- ubuntu jammy: autoconf2.13 2.13-69
- ubuntu noble: autoconf2.13 2.13-69
- ubuntu resolute: autoconf2.13 2.13-69build1
- ubuntu stonking: autoconf2.13 2.13-69build1
- Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc
- Copyright (C) 1998 Ben Pfaff
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms