On Tue, May 15, 2018 at 03:14:33PM +0200, Peter Krempa wrote:
On Fri, May 11, 2018 at 14:59:13 +0200, Ján Tomko wrote:
> Unless explicitly requested, enable the QEMU driver
> only if the Jansson library is present.
>
> Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
> ---
> m4/virt-driver-qemu.m4 | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/m4/virt-driver-qemu.m4 b/m4/virt-driver-qemu.m4
> index 80e1d3ad46..ddb2834705 100644
> --- a/m4/virt-driver-qemu.m4
> +++ b/m4/virt-driver-qemu.m4
> @@ -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])
Well if we've required it until now, I'd be inclined to continue doing
so.
The idea was to not introduce another dependency for default
'./autogen.sh', while still producing an error for someone requesting
--with-qemu without having a JSON library installed.
Jano