6.22. Installing Automake

6.22.1. Installation of Automake

Install Automake by running the following commands:


./configure --prefix=/usr &&
make install

6.22.2. Contents

The Automake package contains the aclocal and automake programs

6.22.3. Description

6.22.3.1. aclocal

Automake includes a number of Autoconf macros which can be used in your package; some of them are actually required by Automake in certain situations. These macros must be defined in your aclocal.m4; otherwise they will not be seen by autoconf.

The aclocal program will automatically generate aclocal.m4 files based on the contents of configure.in. This provides a convenient way to get Automake-provided macros, without having to search around. Also, the aclocal mechanism is extensible for use by other packages.

6.22.3.2. automake

To create all the Makefile.in's for a package, run the automake program in the top level directory, with no arguments. automake will automatically find each appropriate Makefile.am (by scanning configure.in) and generate the corresponding Makefile.in.