autoconf
[Top][All Lists]
Advanced

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

Re: [RFC] pass #2 at getting rid of the config.guess/sub problem when bo


From: Eric Blake
Subject: Re: [RFC] pass #2 at getting rid of the config.guess/sub problem when bootstrapping new ports/systems
Date: Mon, 08 Oct 2012 22:03:09 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1

On 10/08/2012 09:27 PM, Paul Wise wrote:
> On Mon, 2012-10-08 at 20:46 +0800, Paul Wise wrote:
> 
>> So, Debian is in the process of bringing up our upcoming arm64 port.
>> Unfortunately we are also coming across lots of packages with rather
>> outdated config.guess and config.sub files (see links below).
> 
> I've taken on board advice received during this thread and elsewhere and
> updated the patch to always use the latest config.guess and config.sub
> files. I've also tested the result on one of the things I'm upstream for
> and it works to my satisfaction. The only downside is that there is a
> code block that occurs twice in each generated configure script, but I'm
> not sure how to avoid that, any pointers? Please see the attached patch.

I still prefer the idea of being able to set an environment variable,
$CONFIG_GUESS, rather than going hunting ourselves.  Then, porting to a
new config.guess script is a matter of calling:

./configure CONFIG_GUESS=/path/to/new/version

rather than hoping that a hard-coded hunt will find the new config.guess
appropriate for the system wanting the upgrade path.

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