AUTORECONF(1)

๐Ÿ’– AUTORECONF(1) ๐Ÿ’–

okay bestie, welcome to the User Commands section, we're talking about autoreconf and honestly? she's the mom friend of the GNU Build System.


โœจ NAME โœจ

autoreconf โ€” update generated configuration files ๐ŸŽ€


๐ŸŒธ SYNOPSIS ๐ŸŒธ

autoreconf [OPTION]... [DIRECTORY]...

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

So basically autoreconf runs autoconf for you, and when it's needed it also pulls in aclocal, autoheader, automake, autopoint (which used to be called gettextize, iykyk), libtoolize, intltoolize, and gtkdocize โ€” all so it can regenerate the GNU Build System files in the DIRECTORIES you give it, plus all their subdirectories. If you don't name any directories, it just defaults to . ๐Ÿซถ

By default she's lowkey chill about it: she only remakes the files that are older than their sources. But listen โ€” if you install new versions of the GNU Build System, you can make autoreconf remake all the files by handing her the --force option. that's the glow-up button ๐Ÿ’…

โญ Operation modes: โญ

  • -h, --help โ€” print this help, then exit
  • -V, --version โ€” print version number, then exit
  • -v, --verbose โ€” verbosely report processing (she will tell you everything, and honestly? love that for her)
  • -d, --debug โ€” don't remove temporary files
  • -f, --force โ€” consider all generated and standard files obsolete
  • -R, --replace-handwritten โ€” replace files that could be generated but appear to have been written by hand (only config.h.in at present)
  • -i, --install โ€” copy missing standard auxiliary files
  • --no-recursive โ€” don't rebuild sub-packages
  • -s, --symlink โ€” with -i, install symbolic links instead of copies
  • -x, --exclude=CMDS โ€” don't run any of the commands in CMDS (comma-separated list)
  • -m, --make โ€” when applicable, re-run ./configure && make
  • -W, --warnings=CATEGORY โ€” report the warnings falling in CATEGORY (comma-separated list accepted)

๐ŸŒˆ Warning categories are: ๐ŸŒˆ

  • cross โ€” cross compilation issues
  • gnu โ€” GNU coding standards (default in gnu and gnits modes)
  • obsolete โ€” obsolete features or constructions (default)
  • override โ€” user redefinitions of Automake rules or variables
  • portability โ€” 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)

๐Ÿ’œ -W also understands: ๐Ÿ’œ

  • all โ€” turn on all the warnings
  • none โ€” turn off all the warnings
  • no-CATEGORY โ€” turn off warnings in CATEGORY
  • error โ€” treat all enabled warnings as errors

๐Ÿงš Library directories: ๐Ÿงš

  • -B, --prepend-include=DIR โ€” prepend directory DIR to search path
  • -I, --include=DIR โ€” append directory DIR to search path

The environment variables AUTOCONF, ACLOCAL, AUTOHEADER, AUTOM4TE, AUTOMAKE, AUTOPOINT, GTKDOCIZE, INTLTOOLIZE, LIBTOOLIZE, M4, MAKE, and WARNINGS are honored. yes ma'am, she sees them all ๐Ÿ‘‘


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Written by David J. MacKenzie and Akim Demaille. legends fr fr.


๐Ÿ’€ REPORTING BUGS ๐Ÿ’€

Report bugs to bug-autoconf@gnu.org, or via Savannah: https://savannah.gnu.org/support/?group=autoconf.

found a bug? tell the devs, don't suffer in silence bestie ๐Ÿ˜ญ

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. There is NO WARRANTY, to the extent permitted by law.

no cap, that NO WARRANTY is in all caps for a reason ๐Ÿ’…

๐ŸŒŸ 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. To read the manual locally, use the command

info autoconf

You can also consult the Web version of the manual at https://gnu.org/software/autoconf/manual/.


and that's the whole vibe check ๐Ÿซถ this was GNU Autoconf 2.73, dated March 2026 โ€” go forth and autoreconf your little heart out, you're the main character of your build system now โœจ๐Ÿ’–

๐Ÿ“ฆ where this page comes from