[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] aclocal: multiple local m4 macro dirs with AC_CONFIG_MAC
From: |
Eric Blake |
Subject: |
Re: [PATCH 1/2] aclocal: multiple local m4 macro dirs with AC_CONFIG_MACRO_DIR |
Date: |
Fri, 13 Jul 2012 16:40:22 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
On 07/13/2012 04:29 PM, Stefano Lattarini wrote:
> Hello autoconfers.
>
>>> My plan for autoconf is to implement AC_CONFIG_MACRO_DIRS, which can be
>>> invoked multiple times and also takes a whitespace-separated list in a
>>> single call, but which will basically then call AC_CONFIG_MACRO_DIR once
>>> per unique entry (that is, AC_CONFIG_MACRO_DIRS will be smart enough to
>>> filter out duplicates).
>>>
>> And also to normalize whitespace messes in usages like this, I guess:
>>
>> AC_CONFIG_MACRO_DIRS([foo bar \
>> baz
>> ])
>>
>>> Tracing code should then trace _just_ AC_CONFIG_MACRO_DIR, which will be
>>> called once per directory, and where the first call is the preferred
>>> dumping ground for new macros. There shouldn't be a need to trace
>>> AC_CONFIG_MACRO_DIRS.
>>>
>> I like this design. It will allow the "tracers" like aclocal and libtool
>> to be dumber in their implementation, and makes it easier to have a more
>> consistent behaviour among them.
>>
>> So +1 from me.
>>
>> I'll keep my automake patches on hold until you have gone ahead with your
>> plan, to avoid introducing inconsistencies and messing up the already
>> suboptimal automake history even more.
>>
>> Thanks for your continuous and outstanding work,
>> Stefano
>>
> Any progress on this?
Not this week, unfortunately; but I'll advance it to the front of my
todo queue next week given your desire to use it.
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature