/[autoconf]/autoconf/doc/autoconf.texi
ViewVC logotype

Diff of /autoconf/doc/autoconf.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.198.2.8 by oliva, Wed Sep 15 02:29:01 1999 UTC revision 1.198.2.9 by oliva, Wed Sep 15 02:39:29 1999 UTC
# Line 799  with @samp{--srcdir}; this is a safety c Line 799  with @samp{--srcdir}; this is a safety c
799  for more information.  for more information.
800  @end defmac  @end defmac
801    
802    Small packages may store all their macros in @code{aclocal.m4}.  As the
803    set of macros grows, or for maintenance reasons, a maintainer may prefer
804    to split the macros in several files.  In this case, Autoconf must be
805    told which files to load, and in which order.
806    
807    @defmac AC_INCLUDE (@var{file(s)})
808    @maindex AC_INCLUDE
809    Read the macro definitions that appear in the listed files.  A list of
810    space-separated filenames or shell globbing patterns is expected.  The
811    files will be read in the order they're listed.
812    
813    Because the order of definition of macros is important (only the last
814    definition of a macro is used), beware that it is @code{AC_INIT} that
815    loads @file{acsite.m4} and @file{aclocal.m4}.  Note that
816    @code{AC_INCLUDE}ing a file before @code{AC_INIT} or within
817    @file{aclocal.m4} is different from doing so after @code{AC_INIT}: in
818    the latter case, non-macro lines from included files may end up in the
819    @file{configure} script, whereas in the former case, they'd be discarded
820    just like any text that appear before @code{AC_INIT}.
821    @end defmac
822    
823  Packages that do manual configuration or use the @code{install} program  Packages that do manual configuration or use the @code{install} program
824  might need to tell @code{configure} where to find some other shell  might need to tell @code{configure} where to find some other shell
825  scripts by calling @code{AC_CONFIG_AUX_DIR}, though the default places  scripts by calling @code{AC_CONFIG_AUX_DIR}, though the default places

Legend:
Removed from v.1.198.2.8  
changed lines
  Added in v.1.198.2.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26