]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Note that AC_DEFUN is needed for aclocal.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 10 Apr 2009 14:37:41 +0000 (16:37 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 10 Apr 2009 14:37:41 +0000 (16:37 +0200)
* doc/autoconf.texi (Coding Style): Public third-party macros
should be AC_DEFUN'ed.
Report by John Calcote.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
doc/autoconf.texi

index 7ee10f36d0993b79d44014e11f2faf18049b1522..5daf08b5977197077e5bc3540ebc3492788b5fc4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Note that AC_DEFUN is needed for aclocal.
+       * doc/autoconf.texi (Coding Style): Public third-party macros
+       should be AC_DEFUN'ed.
+       Report by John Calcote.
+
 2009-04-10  Eric Blake  <ebb9@byu.net>
 
        Add undocumented _AS_CLEAN_DIR.
index 5e490fec3e011416839ad615d47b094f45183198..b5ff0af6f4a6ddf6124c68e31cfd352f1357b496 100644 (file)
@@ -13553,6 +13553,9 @@ macro doesn't use @code{AC_REQUIRE}, is expected to never be the object
 of an @code{AC_REQUIRE} directive, and macros required by other macros
 inside arguments do not need to be expanded before this macro, then
 use @code{m4_define}.  In case of doubt, use @code{AC_DEFUN}.
+Also take into account that public third-party macros need to use
+@code{AC_DEFUN} in order to be found by @command{aclocal}
+(@pxref{Extending aclocal,,, automake, @acronym{GNU} Automake}).
 All the @code{AC_REQUIRE} statements should be at the beginning of the
 macro, and each statement should be followed by @code{dnl}.