+2011-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
+
+ docs: document planned precedence changes in aclocal search path
+ * doc/automake.texi (Macro Search Path): Explicitly state that the
+ lookup order for extra directories of `.m4' files will be changed
+ in the next major release.
+ * NEWS: Likewise.
+
2011-09-19 Paolo Bonzini <bonzini@gnu.org>
Stefano Lattarini <stefano.lattarini@gmail.com>
- The `--acdir' option of aclocal is deprecated, and will probably be
removed in the next major Automake release (1.12).
+ - The exact order in which the directories in the aclocal macro
+ search path are looked up is probably going to be changed in the
+ next Automake release (1.12).
+
* Changes to aclocal:
- The `--acdir' option is deprecated. Now you should use th new options
using a global copy of Automake and want @command{aclocal} to look for
macros somewhere under your home directory.
+@subsubheading Planned future incompatibilities
+
+The order in which the directories in the macro search path are currently
+looked up is confusing and/or suboptimal in various aspects, and is
+probably going to be changed in the future Automake release. In
+particular, directories in @env{ACLOCAL_PATH} and @file{@var{acdir}}
+might end up taking precedence over @file{@var{acdir-APIVERSION}}, and
+directories in @file{@var{acdir}/dirlist} might end up taking precedence
+over @file{@var{acdir}}. @emph{This is a possible future incompatibility!}
+
@node Extending aclocal
@subsection Writing your own aclocal macros