autoconf
[Top][All Lists]
Advanced

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

Re: Skip all version checks with autoconf?


From: Earnie
Subject: Re: Skip all version checks with autoconf?
Date: Mon, 27 Aug 2018 11:36:40 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 8/25/2018 1:18 PM, Eric Blake wrote:
> On 08/24/2018 05:59 PM, Jeffrey Walton wrote:
>>> It is not autoconf's problem when someone writes a configure.ac that
>>> wrongly
>>> claims to use too-new of a version of automake.  But if you don't
>>> think the
>>> package is actually relying on a feature that only that newer automake
>>> provided, you are welcome to edit configure.ac and change the
>>> AM_INIT_AUTOMAKE() line to list a lower version number, rerun
>>> autoreconf,
>>> and see if it completes successfully.
>>
>> OK, let's get rid of these useless checks whose only purpose is to
>> stop someone from accomplishing their task at hand.
>>
>>       sed -i '/AM_INIT_AUTOMAKE/d' configure.ac
> 
> Nope, that's not how you do it. You NEED the AM_INIT_AUTOMAKE() line,
> just not necessarily the higher version number requirement within the line.
> 
> I'm thinking more along the lines of:
> 
> sed -i '/AM_INIT_AUTOMAKE/ s/\b[0-9.]*\b//'
> 

Wouldn't wrappers like Cygwin uses work?  Of course the wrapper requires
you to have every possible version available.  Note there is a wrapper
both for autoconf and automake.

-- 
Earnie



reply via email to

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