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 eblake@xxxxxxxxxx +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf