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: Tue, 13 Nov 2012 15:47:46 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2

On 11/13/2012 03:00 PM, Adrian Bunk wrote:
>>> libtool does not have to support the old way of manually searching for 
>>> AC_CONFIG_MACRO_DIR in the future, if it requires autoconf >= 2.70 it
>>> can use the new way of tracing AC_CONFIG_MACRO_DIR_TRACE exclusively 
>>> even for old packages.
>>
>> No, it cannot use AC_CONFIG_MACRO_DIR_TRACE exclusively, since not all
>> packages use AC_CONFIG_MACRO_DIR in the first place!
> 
> Packages that currently use ACLOCAL_AMFLAGS without also setting 
> AC_CONFIG_MACRO_DIR are the problem you have in mind?

Such packages would trigger automake 1.13 to issue a warning that
configure.ac is out of sync with ACLOCAL_AMFLAGS, along with a
suggestion of how to fix it assuming newer tools (replace
ACLOCAL_AMFLAGS with AC_CONFIG_MACRO_DIRS).  As long as aclocal honors
the union of both specifications, for as long as it supports
ACLOCAL_AMFLAGS, then this works.  And as soon as packages follow the
hints from aclocal about how to avoid deprecated usage (any usage where
ACLOCAL_AMFLAGS disagrees with AC_CONFIG_MACRO_DIR_TRACE), then
ACLOCAL_AMFLAGS can be deleted.

-- 
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]