Re: [libvirt] [PATCH] desactivate lxc and qemu support on non-linux systems

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

 



On 04/26/2010 07:41 AM, Daniel Veillard wrote:
>   note that with_qemu is set to yes by default
> 
> 
> Daniel
> 
> diff --git a/configure.ac b/configure.ac
> index 99bc906..d360b4e 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -205,6 +205,18 @@ if test "$prefix" = "/usr" && test "$sysconfdir" = '${prefix}/etc' ; then
>      sysconfdir='/etc'
>  fi
>  
> +dnl lxc and qemu drivers require linux headers
> +if test `uname -s` != "Linux"
> +then
> +    if test "x$with_lxc" != "xyes"
> +    then
> +        with_lxc=no
> +    fi
> +    if test "x$with_qemu" != "xyes"
> +    then
> +        with_qemu=no
> +    fi
> +fi

ACK, unless Matthias' recent patches to configure.ac already covered
this in another manner.

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