On 11/09/2012 03:53 PM, Eric Blake wrote: > 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. > ---
I've gone ahead and pushed these patches into autoconf.git, so that Stefano can use the weekend to respin his automake patches to take advantage of the improved semantics. -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature