[libvirt] [PATCHv3 12/13] build: switch --with-qemu default from yes to check

Ján Tomko jtomko at redhat.com
Tue May 15 14:00:14 UTC 2018


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180515/de04ee7a/attachment-0001.sig>


More information about the libvir-list mailing list