Re: Skip all version checks with autoconf?

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

 



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

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux