AUTOCONF(1)
π AUTOCONF π
hii so you opened the manual for autoconf(1) β yeah, the User Commands one β and honestly? iconic. this little tool literally builds the configure scripts that make your whole build system go brrr. let me tell you everything, no gatekeeping, fr fr π«Ά
πΈ NAME πΈ
autoconf β generate configuration scripts. that's it. that's the whole job. and it eats. π
β¨ SYNOPSIS β¨
autoconf [OPTION]... [TEMPLATE-FILE]
π¦ DESCRIPTION π¦
okay so here's the tea: autoconf generates a configuration script from a TEMPLATE-FILE if you give it one, or from configure.ac if that file is present, or else from configure.in. literally it just checks in that order, bestie. π
where does the output go? if you passed a TEMPLATE-FILE, it goes to standard output. if you didn't, it goes into a file called configure. slay.
ποΈ Operation modes: ποΈ
-h,--helpβ prints the help text, then dips out. bye! π-V,--versionβ prints the version number, then also dips out.-v,--verboseβ verbosely reports the processing. she's chatty and we love that π¬-d,--debugβ does NOT remove temporary files. leaving the mess behind on purpose, main character energy-f,--forceβ considers all files obsolete. no vibes check, just force-o,--output=FILEβ saves the output into FILE. (standard output is the default, jsyk)-W,--warnings=CATEGORYβ reports the warnings that fall in CATEGORY [syntax]
π¨ Warning categories include: π¨
crossβ cross compilation issuesobsoleteβ obsolete constructs (she's old, she's tired)syntaxβ dubious syntactic constructs πallβ literally all the warningsno-CATEGORYβ turns off the warnings on CATEGORYnoneβ turns off all the warnings. silence. peace. π§errorβ warnings are error. yes it's a menace, yes it will stop you
the environment variablesM4andWARNINGSare honored. so like, respect them, they're doing their best π
π Library directories: π
-B,--prepend-include=DIRβ prepends directory DIR to the search path-I,--include=DIRβ appends directory DIR to the search path
π Tracing: π
-t,--trace=MACRO[:FORMAT]β reports the list of calls to MACRO-i,--initializationβ also traces Autoconf's initialization process
β οΈ heads up bestie: in tracing mode, no configuration script is created. none. zero. it's a different mode entirely, don't be surprised.
FORMAT defaults to $f:$l:$n:$% β and if you want the full lore on FORMAT, go peek at autom4te --help. iykyk π
π AUTHOR π
Written by David J. MacKenzie and Akim Demaille. absolute legends, we stan π«Ά
π REPORTING BUGS π
Report bugs 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 Β© 2012 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>, <http://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. not even a little one.
π 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. go read it, it's giving encyclopedia but make it cute πβ¨
okay that's the whole thing!! this page is from GNU Autoconf 2.68b, dated March 2012 β yes she's vintage, yes she still eats. now go generate some configuration scripts, bestie, you've got this πππ¦
π¦ where this page comes from
- debian bookworm: autoconf2.69 2.69-3.1 Β· GPL-3.0-or-later
- debian trixie: autoconf2.69 2.69-3.1 Β· GPL-3.0-or-later
- ubuntu jammy: autoconf2.69 2.69-3 Β· GPL-3.0-or-later
- ubuntu noble: autoconf2.69 2.69-3.1 Β· GPL-3.0-or-later
- ubuntu resolute: autoconf2.69 2.69-5 Β· GPL-3.0-or-later
- ubuntu stonking: autoconf2.69 2.69-5 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms