Next: , Previous: , Up: Scanning configure.in   [Contents][Index]


5.1 Configuration requirements

The one real requirement of Automake is that your configure.in call AM_INIT_AUTOMAKE. This macro does several things which are required for proper Automake operation.

Here are the other macros which Automake requires but which are not run by AM_INIT_AUTOMAKE:

AC_OUTPUT

Automake uses this to determine which files to create (see Creating Output Files in The Autoconf Manual). Listed files named Makefile are treated as Makefiles. Other listed files are treated differently. Currently the only difference is that a Makefile is removed by make distclean, while other files are removed by make clean.

You may need the following macros in some conditions, even though they are not required.

AC_CHECK_TOOL([STRIP],[strip])

Installed binaries are usually stripped using strip when you run make install-strip. However strip might not be the right tool to use in cross-compilation environments, therefore Automake will honor the STRIP environment variable to overrule the program used to perform stripping. Automake will not set STRIP itself. If your package is not setup for cross-compilation you do not have to care (strip is ok), otherwise you can set STRIP automatically by calling AC_CHECK_TOOL([STRIP],[strip]) from your configure.in.