AUTOHEADER(1)
โจ AUTOHEADER โ bestie's guide to the template header machine โจ
okay so. autoheader is the little icon that makes a template header for configure. that's the whole vibe. let's get into it ๐
๐ธ NAME ๐ธ
autoheader โ create a template header for configure
๐ฆ SYNOPSIS ๐ฆ
autoheader [OPTION]... [TEMPLATE-FILE]
๐ DESCRIPTION ๐
so what it does is: it makes you a template file of C #define statements that configure is gonna use. iconic behavior, honestly.
to do that, it scans TEMPLATE-FILE โ OR, if you didn't hand it one, it looks for configure.ac, and if that's not there either, it goes for configure.in. slay ๐
โจ OPTIONS โจ
-h,--helpโ prints the help text, then dips out. bye ๐-V,--versionโ prints the version number, then exits.-v,--verboseโ reports what it's doing, but verbosely. yapper mode ๐ฃ๏ธ-d,--debugโ does NOT delete the temporary files. leaving the evidence fr ๐-f,--forceโ treats every single file as obsolete. no mercy.-R,--replace-handwrittenโ overwrites an existing template file that looks like it was not made byautoheader. careful bestie, this one's spicy ๐ถ๏ธ-W,--warnings=CATEGORYโ reports the warnings that fall underCATEGORY. and yes, you can pass a comma-separated list if you're feeling ambitious.
๐ Warning categories are: ๐
crossโ cross compilation issuesgnuโ GNU coding standards (this is the default ingnuandgnitsmodes)obsoleteโ obsolete features or constructions (default)overrideโ user redefinitions of Automake rules or variablesportabilityโ portability issues (default ingnuandgnitsmodes)portability-recursiveโ nested Make variables (default with-Wportability)extra-portabilityโ extra portability issues related to obscure toolssyntaxโ dubious syntactic constructs (default)unsupportedโ unsupported or incomplete features (default)
๐ -W also understands: ๐
allโ turn on ALL the warningsnoneโ turn off ALL the warningsno-CATEGORYโ turn off the warnings inCATEGORYerrorโ treats every enabled warning as an error ๐จ
๐ Library directories: ๐
-B,--prepend-include=DIRโ prepends directoryDIRto the search path-I,--include=DIRโ appends directoryDIRto the search path
๐ซถ AUTHOR ๐ซถ
written by Roland McGrath and Akim Demaille. legends only ๐
๐ญ REPORTING BUGS ๐ญ
found a bug? spill it to bug-autoconf@gnu.org, or slide into Savannah: 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 it and redistribute it. and there is NO WARRANTY, to the extent permitted by law. periodt.
๐ 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 lives in a Texinfo manual, bestie. to read it locally, run:
info autoconf
and you can also peek the Web version of the manual at https://gnu.org/software/autoconf/manual/.
okay that's the whole page, mwah ๐ this was GNU Autoconf 2.73, from March 2026, and it was giving AUTOHEADER(1) energy the entire time. go forth and template your headers ๐ฆโจ
๐ฆ 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