AUTOCONF(1)
π 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 variablesportabilityβ 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-portabilityetc.noneβ turns off all the warnings. silence, but make it fashion π
Heads up bestie: the environment variablesM4andWARNINGSare 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 π
- Report bugs to <bug-autoconf@gnu.org>.
- GNU Autoconf home page: <https://www.gnu.org/software/autoconf/>.
- General help using GNU software: <https://www.gnu.org/gethelp/>.
π COPYRIGHT π
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 π
autoconf(1),automake(1),autoreconf(1),autoupdate(1),autoheader(1),autoscan(1),config.guess(1),config.sub(1),ifnames(1),libtool(1).
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
- epel 9: autoconf2.7x 2.71-1.el9 Β· GPLv2+ and GFDL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms