ACLOCAL(1)

πŸ“¦
version 1.18.1 Β· 5 versions
, in alpine 3.23, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’… ACLOCAL(1) β€” the glow-up edition ✨

okay bestie, so this is a page from the User Commands manual, and it's all about aclocal. buckle up, she's iconic πŸŽ€


🌸 NAME 🌸

aclocal β€” the girl who generates aclocal.m4 by scanning configure.ac periodt πŸ’–


✨ SYNOPSIS ✨

aclocal [OPTION]...

that's it. that's the whole vibe. options go brrr πŸ¦‹


πŸ’œ DESCRIPTION πŸ’œ

so basically she generates 'aclocal.m4' by scanning 'configure.ac' or 'configure.in' β€” those are the two file names, exactly like that, no cap πŸ”₯


πŸ‘‘ OPTIONS πŸ‘‘

okay this is the part you actually came for, bestie. every single one, in order, no skipping πŸ™ˆ

  • --automake-acdir=DIR β€” the directory holding the automake-provided m4 files ✨
  • --aclocal-path=PATH β€” a colon-separated list of directories to search for third-party local files πŸ¦‹
  • --system-acdir=DIR β€” the directory holding third-party system-wide files πŸ’«
  • --diff[=COMMAND] β€” runs COMMAND [diff -u] on the M4 files that would be changed β€” and yeah, this implies --install and --dry-run, so she's doing the most πŸ’…
  • --dry-run β€” pretend to update files, but do not actually update any file. delulu is the solulu 😭
  • --force β€” always update the output file, no questions asked πŸ”₯
  • --help β€” prints this help, then exits. the classic 🫢
  • -I DIR β€” adds a directory to the search list for .m4 files πŸŽ€
  • --install β€” copies third-party files to the first -I directory ✨
  • --output=FILE β€” puts the output in FILE (default is aclocal.m4) πŸ’–
  • --print-ac-dir β€” prints the name of the directory holding system-wide third-party m4 files, then exits πŸ¦‹
  • --verbose β€” don't be silent. she will not be silenced πŸ’€
  • --version β€” prints the version number, then exits πŸŽ€
  • -W, --warnings=CATEGORY β€” reports the warnings falling in CATEGORY, defaults to $WARNINGS ⭐

⚠️ warning categories, bestie ⚠️

these are the categories, in exactly this order, iykyk πŸ‘‘

  • 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) 🚧

πŸŽ€ and -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. she's serious now πŸ’€

πŸ¦‹ AUTHOR πŸ¦‹

Written by Tom Tromey <tromey@redhat.com>

and Alexandre Duret-Lutz <adl@gnu.org> πŸ’–


🌸 REPORTING BUGS 🌸

Report bugs to <bug-automake@gnu.org>. ✨

GNU Automake home page: <https://www.gnu.org/software/automake/>. 🌈

General help using GNU software: <https://www.gnu.org/gethelp/>. 🫢


Copyright Β© 2025 Free Software Foundation, Inc.

License GPLv2+: GNU GPL version 2 or later <https://gnu.org/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. like, none. zero. nada. 😭

⭐ 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, the command

info automake

should give you access to the complete manual. go off, king πŸ‘‘πŸ’–


πŸŽ€ okay that's the whole page, bestie β€” and for the record, this cutie is from GNU automake 1.18.1, dated June 2025. slay, ACLOCAL(1), slay. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from