%define with_xen 1
%define with_xen_proxy 1
%define with_qemu 1
+%define with_openvz 1
+%define with_lxc 1
%define with_polkit 0
# Xen is available only on i386 x86_64 ia64
%define _without_qemu --without-qemu
%endif
+%if ! %{with_openvz}
+%define _without_openvz --without-openvz
+%endif
+
+%if ! %{with_lxc}
+%define _without_lxc --without-lxc
+%endif
+
%configure %{?_without_xen} \
%{?_without_qemu} \
+ %{?_without_openvz} \
+ %{?_without_lxc} \
--with-init-script=redhat \
--with-qemud-pid-file=%{_localstatedir}/run/libvirt_qemud.pid \
--with-remote-file=%{_localstatedir}/run/libvirtd.pid
%attr(4755, root, root) %{_libexecdir}/libvirt_proxy
%endif
%attr(0755, root, root) %{_libexecdir}/libvirt_parthelper
+%if %{with_lxc}
+%attr(0755, root, root) %{_libexecdir}/libvirt_lxc
+%endif
%attr(0755, root, root) %{_sbindir}/libvirtd
%doc docs/*.rng
%doc docs/*.xml