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

Re: [libvirt] [PATCH] configure.ac: avoid uname, which breaks cross-compilation



On 05/03/2010 05:26 PM, Eric Blake wrote:
> Without this patch, compiling to mingw with a $build on windows
> (think MSYS or cygwin) worked, but failed with a $build on Linux.
> 
> * configure.ac: Fix cross-compilation from Linux to mingw.
> Reported by Matthias Bolte.

I found out on IRC that Matthias was working on the same problem, but
his patch is better than mine.

>  dnl lxc and qemu drivers require linux headers
> -if test `uname -s` != "Linux"
> -then
> +case $host in
> +    linux*)
>      if test "x$with_lxc" != "xyes"

For starters, I accidentally inverted the logic here.  Serves me right
for posting before testing.

-- 
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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