aclocal: trace AC_CONFIG_MACRO_DIR_TRACE
commit838238295952cc86e5ccfe59113e6c315cf640ec
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 10 Nov 2012 09:54:44 +0000 (10 10:54 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 10 Nov 2012 12:02:12 +0000 (10 13:02 +0100)
treeecce2e7693c3e04697e747644944a6c38890e035
parent256659b06280ab4be5103c760b777e26980863c3
aclocal: trace AC_CONFIG_MACRO_DIR_TRACE

This is now the documented way, and indeed the only correct way, to
support AC_CONFIG_MACRO_DIR and AC_CONFIG_MACRO_DIRS in third-party
tools.  See autoconf commit v2.69-45-g5269030 of 2012-11-09,
"AC_CONFIG_MACRO_DIRS: improve tracing and add sanity checks".

* aclocal.in (trace_used_macros): Trace 'AC_CONFIG_MACRO_DIR_TRACE'
rather than 'AC_CONFIG_MACRO_DIRS'.  We still have to trace
'AC_CONFIG_MACRO_DIR' explicitly though, for compatibility with
Autoconf versions before 2.70.
* t/aclocal-macrodirs.tap: Enhance w.r.t. precedence of arguments
in one and several AC_CONFIG_MACRO_DIRS calls.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
aclocal.in
t/aclocal-macrodirs.tap