AUTOCONF(1)

πŸ“¦ version 2.71, in epel 9

πŸ’… autoconf β€” like, the manual page, bestie

okay so you found autoconf (that's the User Commands girlies section, hi) and you want the tea? bucket seat, bestie, because this one generates configuration scripts and it's honestly iconic πŸŽ€


✨ NAME ✨

autoconf β€” generate configuration scripts. that's it, that's the whole vibe. main character energy fr πŸ’–


🌸 SYNOPSIS 🌸

autoconf [OPTION]... [TEMPLATE-FILE]

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the situation: autoconf generates a configuration script from a TEMPLATE-FILE if you actually give it one, or from configure.ac if that's present, or else from configure.in. Like, it's gonna find something to work with, she's resourceful πŸ’…

Where does the output go? Whole thing depends, bestie:

  • if you gave a TEMPLATE-FILE, the output goes to standard output (stdout, the default, we been knew)
  • if you didn't, it goes into a file literally called configure

🧚 Operation modes:

  • -h, --help β€” prints the help text, then dips. bye πŸ‘‹
  • -V, --version β€” prints the version number, then exits. classic.
  • -v, --verbose β€” verbosely reports processing. she's telling you everything that's happening, and honestly? we love a transparent queen ✨
  • -d, --debug β€” doesn't remove temporary files. like, keeps the receipts 🧾
  • -f, --force β€” considers all files obsolete. no cap, every single one.
  • -o, --output=FILE β€” saves the output in FILE (remember, stdout is the default)
  • -W, --warnings=CATEGORY β€” reports the warnings falling in CATEGORY. pick your fighter below ⬇️

πŸŽ€ Warning categories include:

  • cross β€” cross compilation issues 🌈
  • gnu β€” GNU coding standards (this one's the default in gnu and gnits modes)
  • obsolete β€” obsolete features or constructions (default, she's always on)
  • override β€” user redefinitions of Automake rules or variables
  • portability β€” portability issues (default in gnu and gnits modes)
  • portability-recursive β€” nested Make variables (default with -Wportability)
  • extra-portability β€” extra portability issues related to obscure tools 🫢
  • syntax β€” dubious syntactic constructs (default)
  • unsupported β€” unsupported or incomplete features (default)
  • all β€” all the warnings, the whole buffet πŸ“
  • no-CATEGORY β€” turns off warnings in CATEGORY. so like, no-portability etc.
  • none β€” turns off all the warnings. silence, but make it fashion πŸ’€
Heads up bestie: the environment variables M4 and WARNINGS are honored. they're literally respected, periodt.

πŸ’œ Library directories:

  • -B, --prepend-include=DIR β€” prepends directory DIR to the search path. front of the line, VIP style πŸ‘‘
  • -I, --include=DIR β€” appends directory DIR to the search path. back of the line, still invited tho.

πŸ”₯ Tracing:

  • -t, --trace=MACRO[:FORMAT] β€” reports the list of calls to MACRO
  • -i, --initialization β€” also traces Autoconf's initialization process. she's tracing her own origin story 😭
Big warning, no cap: in tracing mode, no configuration script is created. none. zero. the configure file does not happen. don't come for her, that's literally the deal.

FORMAT defaults to $f:$l:$n:$% β€” and if you wanna know what that mystical little string means, go see autom4te --help for the info about FORMAT. iykyk πŸ’«


πŸ‘‘ AUTHOR πŸ‘‘

Written by David J. MacKenzie and Akim Demaille. legends, honestly 🫢


πŸ™ˆ REPORTING BUGS πŸ™ˆ


Copyright Β© 2021 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>, <https://gnu.org/licenses/exceptions.html>

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. (say it with me: NO WARRANTY 😀)


🌈 SEE ALSO 🌈

The full documentation for autoconf is maintained as a Texinfo manual. If the info and autoconf programs are properly installed at your site, the command

info autoconf

should give you access to the complete manual. slay ✨


and that's the page, bestie πŸ’… the whole thing is GNU Autoconf 2.71, dated January 2021 β€” mwah, drink water, and go generate some configuration scripts πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from