mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
Revert "build: switch --with-qemu default from yes to check"
This reverts commit c5ae8e0c2b4b6bb3c667cfadaf65a66c3f4f3d85. Jansson cannot parse QEMU's quirky JSON. Revert back to yajl. https://bugzilla.redhat.com/show_bug.cgi?id=1614569 Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
f204cf5103
commit
5a58b5ed68
@ -18,7 +18,7 @@ dnl <http://www.gnu.org/licenses/>.
|
|||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN([LIBVIRT_DRIVER_ARG_QEMU], [
|
AC_DEFUN([LIBVIRT_DRIVER_ARG_QEMU], [
|
||||||
LIBVIRT_ARG_WITH_FEATURE([QEMU], [QEMU/KVM], [check])
|
LIBVIRT_ARG_WITH_FEATURE([QEMU], [QEMU/KVM], [yes])
|
||||||
LIBVIRT_ARG_WITH([QEMU_USER], [username to run QEMU system instance as],
|
LIBVIRT_ARG_WITH([QEMU_USER], [username to run QEMU system instance as],
|
||||||
['platform dependent'])
|
['platform dependent'])
|
||||||
LIBVIRT_ARG_WITH([QEMU_GROUP], [groupname to run QEMU system instance as],
|
LIBVIRT_ARG_WITH([QEMU_GROUP], [groupname to run QEMU system instance as],
|
||||||
@ -26,10 +26,6 @@ AC_DEFUN([LIBVIRT_DRIVER_ARG_QEMU], [
|
|||||||
])
|
])
|
||||||
|
|
||||||
AC_DEFUN([LIBVIRT_DRIVER_CHECK_QEMU], [
|
AC_DEFUN([LIBVIRT_DRIVER_CHECK_QEMU], [
|
||||||
AC_REQUIRE([LIBVIRT_CHECK_JANSSON])
|
|
||||||
if test "$with_qemu" = "check"; then
|
|
||||||
with_qemu=$with_jansson
|
|
||||||
fi
|
|
||||||
if test "$with_qemu" = "yes" ; then
|
if test "$with_qemu" = "yes" ; then
|
||||||
AC_DEFINE_UNQUOTED([WITH_QEMU], 1, [whether QEMU driver is enabled])
|
AC_DEFINE_UNQUOTED([WITH_QEMU], 1, [whether QEMU driver is enabled])
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user