See commit 'v1.12.1-165-gcd1a9cc' "aclocal: deprecate ACLOCAL_AMFLAGS, trace AC_CONFIG_MACRO_DIR instead" in the Automake git repository.
See also follow-up discussion at: <http://lists.gnu.org/archive/html/automake-patches/2012-07/msg00010.html> * doc/autoconf.texi (@node "Input" @defmac "AC_CONFIG_MACRO_DIR"): Adjust. (autoreconf Invocation): Warn about the possible future removal of $(ACLOCAL_AMFLAGS) support from Automake. Signed-off-by: Stefano Lattarini <stefano.lattar...@gmail.com> --- doc/autoconf.texi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/autoconf.texi b/doc/autoconf.texi index f9d744b..4b5d20a 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -1808,7 +1808,9 @@ If you want @command{autoreconf} to pass flags that are not listed here on to @command{aclocal}, set @code{ACLOCAL_AMFLAGS} in your @file{Makefile.am}. Due to a limitation in the Autoconf implementation these flags currently must be set on a single line in @file{Makefile.am}, without any -backslash-newlines. +backslash-newlines. Also, be aware that future Automake release might +start flagging @code{ACLOCAL_AMFLAGS} as obsolescent, or even remove +support for it. @c ========================================= Initialization and Output Files. @@ -2108,8 +2110,8 @@ macros. This macro is intended for use by future versions of commands like It should be called directly from @file{configure.ac} so that tools that install macros for @command{aclocal} can find the macros' declarations. -Note that if you use @command{aclocal} from Automake to generate -@file{aclocal.m4}, you must also set +Note that if you use @command{aclocal} from an Automake release prior to +1.13 to generate @file{aclocal.m4}, you must also set @code{ACLOCAL_AMFLAGS = -I @var{dir1} [-I @var{dir2} ... -I @var{dirN}]} in your top-level @file{Makefile.am}. Due to a limitation in the Autoconf implementation of @command{autoreconf}, these include -- 1.7.9.5