Scroll to navigation

ACLOCAL(1) User Commands ACLOCAL(1)

NAME

aclocal - Generate aclocal.m4 by scanning configure.ac

SYNOPSIS

aclocal [OPTION]...

DESCRIPTION

Generate 'aclocal.m4' by scanning 'configure.ac' or 'configure.in'

OPTIONS

directory holding automake-provided m4 files
colon-separated list of directories to search for third-party local files
directory holding third-party system-wide files
run COMMAND [diff -u] on M4 files that would be changed (implies --install and --dry-run)
pretend to, but do not actually update any file
always update output file
print this help, then exit
add directory to search list for .m4 files
copy third-party files to the first -I directory
put output in FILE (default aclocal.m4)
print name of directory holding system-wide third-party m4 files, then exit
don't be silent
print version number, then exit
report the warnings falling in CATEGORY, defaults to $WARNINGS

Warning categories are:

cross compilation issues
GNU coding standards (default in gnu and gnits modes)
obsolete features or constructions (default)
user redefinitions of Automake rules or variables
portability issues (default in gnu and gnits modes)
portability-recursive
nested Make variables (default with -Wportability)
extra portability issues related to obscure tools
dubious syntactic constructs (default)
unsupported or incomplete features (default)

-W also understands:

turn on all the warnings
turn off all the warnings
turn off warnings in CATEGORY
treat all enabled warnings as errors

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

Copyright © 2024 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.

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.

July 2024 GNU automake 1.17