AUTOCONF(1)
β¨ AUTOCONF(1) β¨
okay bestie, gather round, because we're talking about autoconf from the User Commands corner of the manual, and it is literally the girlboss that writes your configure scripts for you π
πΈ NAME πΈ
autoconf β generate configuration scripts π
π¦ SYNOPSIS π¦
autoconf [OPTION]... [TEMPLATE-FILE]
π DESCRIPTION π
So here's the tea β: autoconf generates a configuration script. From what, you ask? From a TEMPLATE-FILE if you hand it one, or from configure.ac if that's chilling in the directory, or else from configure.in. It's giving "I'll find something to work with, don't worry" π«Ά
Where does the output go? If you gave it a TEMPLATE-FILE, it goes straight to standard output. If you didn't, it goes into configure. Slay.
π Operation modes π
-h,--helpβ prints the help text, then dips. Bye π-V,--versionβ prints the version number, then dips.-v,--verboseβ reports processing verbosely, aka it tells you everything, main character energy β¨-d,--debugβ does not remove temporary files (so you can go snooping, no cap)-f,--forceβ considers all files obsolete-o,--output=FILEβ saves the output in FILE (and just so you know, stdout is the default)-W,--warnings=CATEGORYβ reports the warnings that fall in CATEGORY, and the default category issyntax
π Warning categories include: π
crossβ cross compilation issuesobsoleteβ obsolete constructs (it's giving outdated, bestie)syntaxβ dubious syntactic constructsallβ all the warnings, the whole buffetno-CATEGORYβ turns off the warnings on CATEGORYnoneβ turns off all the warnings, silence is golden πerrorβ warnings are error
Also! The environment variablesM4andWARNINGSare honored. Respect them πββοΈ
π 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: in tracing mode, no configuration script is created. Like, zero. None. It's busy tracing instead, okay?
And FORMAT defaults to $f:$l:$n:$% β if you want the full lore on FORMAT, go peek at autom4te --help π
π AUTHOR π
Written by David J. MacKenzie and Akim Demaille. Legends, fr fr π
π REPORTING BUGS π
Found a bug? Report it to <bug-autoconf@gnu.org>. GNU Autoconf home page: <http://www.gnu.org/software/autoconf/>. And for general help using GNU software: <http://www.gnu.org/gethelp/>.
β COPYRIGHT β
Copyright Β© 2009 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/old-licenses/gpl-2.0.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, this command:
info autoconf
should give you access to the complete manual. Go get that knowledge, bestie πβ¨
and that's the whole page!! this one's from GNU Autoconf 2.64, dated July 2009 β yeah she's an elder but she ATE and left no crumbs ππ mwah, love u, go configure something π¦
π¦ where this page comes from
- debian bookworm: autoconf2.64 2.64+dfsg-1.1
- ubuntu jammy: autoconf2.64 2.64+dfsg-1
- ubuntu noble: autoconf2.64 2.64+dfsg-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms