autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] AC_CONFIG_MACRO_DIRS: improve tracing and add sanity checks


From: Eric Blake
Subject: Re: [PATCH] AC_CONFIG_MACRO_DIRS: improve tracing and add sanity checks
Date: Fri, 09 Nov 2012 16:19:59 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1

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   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]