automake-patches
[Top][All Lists]
Advanced

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

Re: [PATCHES] Better error messages if obsolete macros are used


From: Paolo Bonzini
Subject: Re: [PATCHES] Better error messages if obsolete macros are used
Date: Mon, 31 Dec 2012 11:04:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

Il 31/12/2012 10:05, Stefano Lattarini ha scritto:
> On 12/30/2012 07:08 PM, Paolo Bonzini wrote:
>> Il 30/12/2012 11:23, Stefano Lattarini ha scritto:
>>> +AC_DEFUN([AM_CONFIG_HEADER],
>>> +[AC_FATAL(['$0': this macro is obsolete.
>>> +    You should use the 'AC][_CONFIG_HEADERS' macro instead.])])
>>> +
>>
>> What's the point in doing this instead of
>>
>> m4_defun([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS])
>>
>> or something like that?
>>
> Issuing a fatal error will force users to upgrade to AC_CONFIG_HEADERS,
> thus allowing us to remove AM_CONFIG_HEADER altogether in future
> Automake versions (probably 1.15). 4, or maybe 1.15).

Again: it does not do any harm.  Move it to m4/obsolete.m4, and nobody
will ever care about it again (including deleting it).

Paolo




reply via email to

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