GNU Autoconf, Automake, and Libtool
by Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
22.1. Autoconf Preliminaries
In a small package that uses only Autoconf, your own macros are placed in the 'aclocal.m4' file—this includes macros that you may have obtained from third parties, such as the Autoconf macro archive (see Section 22.5.1, "Autoconf Macro Archive" ). If your package additionally uses Automake, these macros should be placed in 'acinclude.m4'. The aclocal program from Automake reads in macro definitions from 'acinclude.m4' when generating 'aclocal.m4'. When using Automake, for instance, 'aclocal.m4' includes the definitions of AM_ macros needed by Automake.
In larger projects, it is advisable to keep your custom macros in a more organized structure. Autoconf version 2.15 will introduce a new facility to explicitly include ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access