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.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Ralf Wildenhues 2009-04-10 16:37:41 +02:00
parent ef8940d9b5
commit d882037ec0
2 changed files with 10 additions and 0 deletions

View File

@ -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.

View 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}.