autoconf/lib
Eric Blake 5269030d19 AC_CONFIG_MACRO_DIRS: improve tracing and add sanity checks
Too many legacy tools exist for us to unilaterally quit supporting
AC_CONFIG_MACRO_DIR - it is feasible for someone to want their
package to bootstrap with both automake 1.13 and libtool 2.4.2,
where the newer automake will only trace the new style of multiple
directory listings, but the older libtool does a sed and settles
on the one use of the old name.  So, we let both macros forward
to a new tracing macro, which also has the benefit of sanitizing
calls into one directory per trace; we also ensure that the old
macro is always traced, and appears at most once and before any
use of the new macro.

* doc/autoconf.texi (Input) <AC_CONFIG_MACRO_DIRS>: Document how
to trace this macro.
* lib/autom4te.in (Autoreconf-preselections)
(Automake-preselections): Preselect this trace.
* lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR_TRACE): New trace.
(_AC_CONFIG_MACRO_DIRS_USED, _AC_CONFIG_MACRO_DIRS): New internal
macros.
(AC_CONFIG_MACRO_DIRS, AC_CONFIG_MACRO_DIR): Use them.
* tests/tools.at (autoconf --trace: AC_CONFIG_MACRO_DIRS): New
test.
2012-11-09 16:16:22 -07:00
..
autoconf AC_CONFIG_MACRO_DIRS: improve tracing and add sanity checks 2012-11-09 16:16:22 -07:00
Autom4te general: deprecate 'configure.in' as autoconf input 2012-05-23 00:13:01 +02:00
autoscan maint: update copyright year 2012-01-04 00:20:24 -08:00
autotest m4sh: avoid // issues in _AS_PATH_WALK 2012-07-13 11:33:13 -06:00
emacs maint: update copyright year 2012-01-04 00:20:24 -08:00
m4sugar warn: allow aclocal to silence m4_require warnings 2012-11-09 16:16:22 -07:00
autom4te.in AC_CONFIG_MACRO_DIRS: improve tracing and add sanity checks 2012-11-09 16:16:22 -07:00
freeze.mk maint: update copyright year 2012-01-04 00:20:24 -08:00
Makefile.am maint: update copyright year 2012-01-04 00:20:24 -08:00