]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virt-driver-qemu.m4: Make qemu driver optional
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 14 Mar 2019 12:30:26 +0000 (13:30 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 14 Mar 2019 16:27:49 +0000 (17:27 +0100)
The basic idea of our configure script is to probe for things
rather than have them enabled by default. This is even more
visible in the next commit where configure fails if qemu driver
is enabled but no yajl is found.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
m4/virt-driver-qemu.m4

index 80e1d3ad46d9d93782d1f04e91efa80b16c4a705..2912b3c462769bd1a946f337297a5fccbc3e8b87 100644 (file)
@@ -18,7 +18,7 @@ dnl <http://www.gnu.org/licenses/>.
 dnl
 
 AC_DEFUN([LIBVIRT_DRIVER_ARG_QEMU], [
-  LIBVIRT_ARG_WITH_FEATURE([QEMU], [QEMU/KVM], [yes])
+  LIBVIRT_ARG_WITH_FEATURE([QEMU], [QEMU/KVM], [check])
   LIBVIRT_ARG_WITH([QEMU_USER], [username to run QEMU system instance as],
                    ['platform dependent'])
   LIBVIRT_ARG_WITH([QEMU_GROUP], [groupname to run QEMU system instance as],