AUTOCONF(1)
๐ NAME ๐
okay so bestie, meet autoconf โ she's a User Command and her whole thing is Generate configuration scripts. that's it. that's the job. iconic behavior honestly ๐
๐ 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 give it one, or from 'configure.ac' if that one's hanging around, or else from 'configure.in'. yes she has a whole priority list, she's organized like that.
and where does the output go? ๐ if you passed a TEMPLATE-FILE, it goes to standard output. if you didn't, it goes into 'configure'. no cap.
๐ง Operation modes:
-h,--helpโ prints the help, then dips. bye ๐-V,--versionโ prints the version number, then exits.-v,--verboseโ verbosely report processing. she will tell you EVERYTHING.-d,--debugโ don't remove temporary files. leaving the mess behind on purpose, fr.-f,--forceโ consider all files obsolete.-o,--output=FILEโ save output in FILE. (stdout is the default, just so you know.)-W,--warnings=CATEGORYโ report the warnings falling in CATEGORY. and yes, a comma-separated list is accepted, she's flexible like that ๐
โ ๏ธ Warning categories are:
crossโ cross compilation issues.gnuโ GNU coding standards. (default ingnuandgnitsmodes)obsoleteโ obsolete features or constructions. (default)overrideโ user redefinitions of Automake rules or variables.portabilityโ portability issues. (default ingnuandgnitsmodes)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)
๐ฆ -W also understands:
allโ turn on all the warnings. ALL of them. go big or go home.noneโ turn off all the warnings. silence is golden โจno-CATEGORYโ turn off warnings in CATEGORY.errorโ treat all enabled warnings as errors. scary but effective ๐ญ
๐ Library directories:
-B,--prepend-include=DIRโ prepend directory DIR to search path.-I,--include=DIRโ append directory DIR to search path.
(one goes in the front, one goes in the back. placement matters, iykyk ๐ )
๐ Tracing:
-t,--trace=MACRO[:FORMAT]โ report the list of calls to MACRO.-i,--initializationโ also trace Autoconf's initialization process.
๐จ real talk: in tracing mode, no configuration script is created. like, at all. don't come for her later.
and FORMAT defaults to '$f:$l:$n:$%' โ and if you wanna know more about FORMAT, go read autom4te --help. she'll fill you in ๐ซถ
๐ง AUTHOR ๐ง
Written by David J. MacKenzie and Akim Demaille. legends, honestly. ๐
๐ REPORTING BUGS ๐
found a bug? not me being the one to tell you but โ report it to bug-autoconf@gnu.org, or slide into the Savannah support page:
https://savannah.gnu.org/support/?group=autoconf
๐ COPYRIGHT ๐
Copyright ยฉ 2026 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. and there is NO WARRANTY, to the extent permitted by law. (that last part is in all caps in the original and it's in all caps here too, because it MATTERS ๐ฅ)
๐ SEE ALSO ๐
autoconf(1)automake(1)autoreconf(1)autoupdate(1)autoheader(1)autoscan(1)config.guess(1)config.sub(1)ifnames(1)libtool(1)
and bestie, the full documentation for Autoconf is maintained as a Texinfo manual ๐ if you wanna read it locally, just run:
info autoconf
you can also check out the Web version of the manual right here:
https://gnu.org/software/autoconf/manual/
okay that's the whole page!! this is GNU Autoconf 2.73, and she was written up in March 2026, filed under AUTOCONF(1) in the User Commands section ๐โจ go forth and configure, bestie ๐ฆ
๐ฆ where this page comes from
- alpine 3.24: autoconf-doc 2.73-r0 ยท GPL-3.0-or-later WITH Autoconf-exception-3.0
- arch rolling: autoconf 2.73-1 ยท GPL2 AND GPL3 AND custom
- nixos 26.05: autoconf 2.73
- nixpkgs unstable: autoconf 2.73
- ubuntu stonking: autoconf 2.73-2 ยท 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