DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(automk14.info.gz) Extending aclocal

Info Catalog (automk14.info.gz) Macros (automk14.info.gz) configure
 
 5.5 Writing your own aclocal macros
 ===================================
 
 The `aclocal' program doesn't have any built-in knowledge of any
 macros, so it is easy to extend it with your own macros.
 
    This is mostly used for libraries which want to supply their own
 Autoconf macros for use by other programs.  For instance the `gettext'
 library supplies a macro `AM_GNU_GETTEXT' which should be used by any
 package using `gettext'.  When the library is installed, it installs
 this macro so that `aclocal' will find it.
 
    A file of macros should be a series of `AC_DEFUN''s.  The `aclocal'
 programs also understands `AC_REQUIRE', so it is safe to put each macro
 in a separate file.   Prerequisite Macros (autoconf)Prerequisite
 Macros, and  Macro Definitions (autoconf)Macro Definitions.
 
    A macro file's name should end in `.m4'.  Such files should be
 installed in `$(datadir)/aclocal'.
 
Info Catalog (automk14.info.gz) Macros (automk14.info.gz) configure
automatically generated byinfo2html