From: Eric Blake Date: Fri, 4 Sep 2009 12:18:52 +0000 (-0600) Subject: Improve wording about what goes before AC_INIT. X-Git-Tag: v2.65~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=714bcc196fe307a5a60e6f616585783628ea9706;p=thirdparty%2Fautoconf.git Improve wording about what goes before AC_INIT. * doc/autoconf.texi (Initializing configure): Update wording. (Versioning) : Remove misleading text, to match autoupdate's behavior. * THANKS: Update. Reported by NightStrike, with input from Ralf Wildenhues. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 1ff51b479..c5be126a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-09-04 Eric Blake + + Improve wording about what goes before AC_INIT. + * doc/autoconf.texi (Initializing configure): Update wording. + (Versioning) : Remove misleading text, to match + autoupdate's behavior. + * THANKS: Update. + Reported by NightStrike, with input from Ralf Wildenhues. + 2009-09-04 Thomas Jahns (tiny change) Fix illegal tab character in Fortran source. diff --git a/THANKS b/THANKS index c9237e07e..460e68052 100644 --- a/THANKS +++ b/THANKS @@ -264,6 +264,7 @@ Nathanael Nerode neroden@gcc.gnu.org Nelson H. F. Beebe beebe@math.utah.edu Nicolas Joly njoly@pasteur.fr Nicolás Lichtmaier jnl@synapsis-sa.com.ar +NightStrike nightstrike@gmail.com Nishio Futoshi fut_nis@d3.dion.ne.jp Noah Elliott elliott@hera.llnl.gov Noah Friedman friedman@gnu.ai.mit.edu diff --git a/doc/autoconf.texi b/doc/autoconf.texi index e99796207..1d1abfb4c 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -1754,8 +1754,11 @@ initialization and the creation of output files. @section Initializing @command{configure} Every @command{configure} script must call @code{AC_INIT} before doing -anything else. The only other required macro is @code{AC_OUTPUT} -(@pxref{Output}). +anything else that produces output. Calls to silent macros, such as +@code{AC_DEFUN}, may also occur prior to @code{AC_INIT}, although these +are generally used via @file{aclocal.m4}, since that is implicitly +included before the start of @file{configure.ac}. The only other +required macro is @code{AC_OUTPUT} (@pxref{Output}). @anchor{AC_INIT} @defmac AC_INIT (@var{package}, @var{version}, @ovar{bug-report}, @ @@ -1854,8 +1857,7 @@ error output and exit with failure (exit status is 63). For example: AC_PREREQ([@value{VERSION}]) @end example -This macro is the only macro that may be used before @code{AC_INIT}, but -for consistency, you are invited not to do so. +This macro may be used before @code{AC_INIT}. @end defmac @defmac AC_AUTOCONF_VERSION