]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Make vbox support configurable
authorMark McLoughlin <markmc@redhat.com>
Tue, 28 Jul 2009 16:59:34 +0000 (17:59 +0100)
committerMark McLoughlin <markmc@redhat.com>
Tue, 28 Jul 2009 18:29:59 +0000 (19:29 +0100)
Added by DV with:

  * Fri Apr 24 2009 Daniel Veillard <veillard@redhat.com> - 0.6.3-1.fc12
  - release of 0.6.3
  - VirtualBox driver

libvirt.spec.in

index 2cc1639383b357e7b654945430e85aba9762a5e9..d5bd2685d2eb40a2a5ef53e8cfda5c2823530d9d 100644 (file)
@@ -5,6 +5,7 @@
 %define with_qemu          0%{!?_without_qemu:1}
 %define with_openvz        0%{!?_without_openvz:1}
 %define with_lxc           0%{!?_without_lxc:1}
+%define with_vbox          0%{!?_without_vbox:1}
 %define with_sasl          0%{!?_without_sasl:1}
 %define with_avahi         0%{!?_without_avahi:1}
 # default to off
@@ -258,6 +259,10 @@ of recent versions of Linux (and other OSes).
 %define _without_lxc --without-lxc
 %endif
 
+%if ! %{with_vbox}
+%define _without_vbox --without-vbox
+%endif
+
 %if ! %{with_sasl}
 %define _without_sasl --without-sasl
 %endif
@@ -326,6 +331,7 @@ of recent versions of Linux (and other OSes).
            %{?_without_qemu} \
            %{?_without_openvz} \
            %{?_without_lxc} \
+           %{?_without_vbox} \
            %{?_without_sasl} \
            %{?_without_avahi} \
            %{?_without_polkit} \