ACLOCAL(1)
โจ ACLOCAL(1) โ aclocal, the aclocal.m4 generator โจ
๐ Okay bestie, aclocal is the program that makes the aclocal.m4 file for you by scanning configure.ac or configure.in ๐ Literally the glue that makes your whole build setup come together. It's giving productivity ๐
๐ซ SYNOPSIS ๐ซ
aclocal [OPTION]...
๐ธ DESCRIPTION ๐ธ
Okay so the whole point is this: it generates aclocal.m4 by scanning configure.ac or configure.in โจ That's the entire vibe, no cap ๐ซถ
๐ฆ OPTIONS ๐ฆ
--automake-acdir=DIRโ the directory that holds the m4 files Automake provides ๐--aclocal-path=PATHโ a colon-separated list of directories to hunt through for third-party local files ๐--system-acdir=DIRโ the directory that holds third-party system-wide files ๐--diff[=COMMAND]โ runsCOMMAND(defaultdiff -u) on the M4 files that would get changed ๐ Heads up, this one implies--installand--dry-run๐--dry-runโ pretends to update things but doesn't actually touch any file ๐ง--forceโ always updates the output file, no matter what ๐ช--helpโ prints this help, then exits ๐ซถ-I DIRโ addsDIRto the search list for.m4files ๐--installโ copies third-party files into the first-Idirectory ๐--output=FILEโ puts the output inFILE(default isaclocal.m4) โจ--print-ac-dirโ prints the name of the directory holding the system-wide third-party m4 files, then exits ๐ธ--verboseโ don't be silent, bestie, talk to me ๐ฃ๏ธ--versionโ prints the version number, then exits ๐-W,--warnings=CATEGORYโ reports the warnings that fall inCATEGORY. It defaults to$WARNINGS๐จ
โ ๏ธ Warning categories โ ๏ธ
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โ turns on all the warnings ๐noneโ turns off all the warnings ๐no-CATEGORYโ turns off warnings inCATEGORY๐ซฅerrorโ treats all enabled warnings as errors ๐
๐ฉโ๐ป AUTHOR ๐ฉโ๐ป
Written by Tom Tromey <tromey@redhat.com> and Alexandre Duret-Lutz <adl@gnu.org> ๐ The legends behind this, iykyk ๐ซถ
๐ REPORTING BUGS ๐
Found a bug? Report it to <bug-automake@gnu.org> ๐ The GNU Automake home page is <https://www.gnu.org/software/automake/> ๐ And for general help using GNU software, check <https://www.gnu.org/gethelp/> ๐
โ๏ธ COPYRIGHT โ๏ธ
Copyright ยฉ 2026 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html> ๐ This is free software, so you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law ๐ซง
๐ SEE ALSO ๐
The full documentation for aclocal is maintained as a Texinfo manual ๐ If the info and aclocal programs are properly installed at your site, run this command to get the complete manual:
info automake
๐ฆ Stay iconic, bestie! This page is from GNU automake 1.19, dated September 2026 ๐โจ
๐ฆ where this page comes from
- arch rolling: automake 1.19-1 ยท GPL
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms