23.1 Autoconf Preliminaries

back: writing new macros for autoconf
forward: reusing existing macros
 
fastback: writing new macros for autoconf
up: writing new macros for autoconf
fastforward: migrating existing packages
top: autoconf, automake, and libtool
contents: table of contents
index: index
about: about this document

In a small package which only uses 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 23.5.1 Autoconf macro archive). If your package additionally uses Automake, then 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' will include the definitions of AM_ macros needed by Automake.

In larger projects, it's advisable to keep your custom macros in a more organized structure. Autoconf version 2.15 will introduce a new facility to explicitly include files from your `configure.in' file. The details have not solidified yet, but it will almost certainly include a mechanism for automatically included files with the correct filename extension from a subdirectory, say `m4/' .


This document was generated by Gary V. Vaughan on May, 24 2001 using texi2html


GNU Autoconf, Automake and Libtool
GNU Autoconf, Automake, and Libtool
ISBN: 1578701902
EAN: 2147483647
Year: 2002
Pages: 290

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net