Open In App

aclocal command in Linux with Examples

aclocal command in Linux is used to automatically generate aclocal.m4 files from configure.in file. automake in Linux contain a lot of autoconf macros that can be used in the different packages. These macros must be defined in the aclocal.m4. If not, then it can’t be accessed by the autoconf.
The aclocal command first scans for macro definitions in the .m4 files in its default directory (/usr/share/aclocal on some systems) and also in the file acinclude.m4 after which it scans for macros used in the configure.in file. It will generate an aclocal.m4 file that contains definitions of all the m4 macros required by autoconf.

Syntax:



aclocal [, OPTION/]... [, SRCDIR/]

Options:

Article Tags :