Subject: bug#13378: [PATCH] compile: use 'compile' script when "-c -o" is used with losing compilers

From: Eric Blake <[email-masked]>
Date: Fri, 11 Jan 2013 10:56:15 -0700

On 01/11/2013 09:30 AM, Stefano Lattarini wrote:

> Subject: [PATCH] compile: avoid AC_PROG_CC messy rewrite
> 
> Instead, only touch up AC_PROG_CC to distribute the 'compile' script and
> to rewrite $CC if a losing compiler is detected.  We can do so because
> Autoconf 2.70 (which we now requires) has been so kind to implement the

s/requires/require/

> features we need (through a private hook made explicitly available to us),
> in commit v2.69-63-gce48964 of 2013-01-11, "AC_PROG_CC: also check whether
> $CC supports "-c -o" together":
> <http://lists.gnu.org/archive/html/autoconf-patches/2013-01/msg00007.html>

Looks reasonable.  I still need to spend another weekend on progressing
towards a release of 2.70.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org