提交 01ce0437 编写于 作者: J Ján Tomko

build: require Jansson if QEMU driver is enabled

If the QEMU driver was requested, require Jansson, since we need to use
the JSON monitor to probe capabilities for all QEMU version supported
by libvirt.
Signed-off-by: NJán Tomko <jtomko@redhat.com>
上级 c5ae8e0c
......@@ -27,6 +27,9 @@ AC_DEFUN([LIBVIRT_DRIVER_ARG_QEMU], [
AC_DEFUN([LIBVIRT_DRIVER_CHECK_QEMU], [
AC_REQUIRE([LIBVIRT_CHECK_JANSSON])
if test "$with_qemu:$with_jansson" = "yes:no"; then
AC_MSG_ERROR([Jansson >= 2.5 is required to build QEMU driver])
fi
if test "$with_qemu" = "check"; then
with_qemu=$with_jansson
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册