]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Output): Make clear that one can run code
authorAkim Demaille <akim@epita.fr>
Tue, 26 Aug 2003 07:36:39 +0000 (07:36 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 26 Aug 2003 07:36:39 +0000 (07:36 +0000)
after AC_OUTPUT.

ChangeLog
doc/autoconf.texi

index 3c605208f74a27649b3f6a45fd9810f8f46ac52f..6f80eaf59ef3c67f164a260fbb9645710f72ac49 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-26  Akim Demaille  <akim@epita.fr>
+
+       * doc/autoconf.texi (Output): Make clear that one can run code
+       after AC_OUTPUT.
+
 2003-08-25  Akim Demaille  <akim@epita.fr>
 
        * config/announce-gen, GNUmakefile, Makefile.maint: Update from
index 28e3f077f409ff3077c3ba78e8aab28770340ad5..a3c97661b15407cfd08a72c7bade45a2259b311d 100644 (file)
@@ -1763,7 +1763,7 @@ name is obsolete because some @code{make} have a rule that creates
 @section Outputting Files
 
 Every Autoconf script, e.g., @file{configure.ac}, should finish by
-calling @code{AC_OUTPUT}.  That is the macro that generates
+calling @code{AC_OUTPUT}.  That is the macro that generates and runs
 @file{config.status}, which will create the @file{Makefile}s and any
 other files resulting from configuration.  This is the only required
 macro besides @code{AC_INIT} (@pxref{Input}).
@@ -1782,6 +1782,14 @@ Commands}, macro @code{AC_CONFIG_COMMANDS}), links (see
 @ref{Configuration Links}, macro @code{AC_CONFIG_LINKS}), subdirectories
 to configure (see @ref{Subdirectories}, macro @code{AC_CONFIG_SUBDIRS})
 are honored.
+
+The location of your @code{AC_OUTPUT} invocation is the exact point
+where configuration actions are taken: any code afterwards will be
+executed by @code{configure} once @command{config.status} was run.  If
+you want to bind actions to @command{config.status} itself
+(independently of whether @command{configure} is being run), see
+@ref{Configuration Commands, , Running Arbitrary Configuration
+Commands}.
 @end defmac
 
 Historically, the usage of @code{AC_OUTPUT} was somewhat different.