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

Eric Blake eblake at redhat.com
Mon Apr 26 16:47:42 UTC 2010


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100426/d725caa0/attachment-0001.sig>


More information about the libvir-list mailing list