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

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

 



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@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]