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 directory DIR. you can also set the AC_MACRODIR environment 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