From eee8c852e068caeb785734eec9aec1be76bef8eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Tue, 15 May 2018 12:26:42 +0200 Subject: [PATCH] Require GnuTLS >= 3.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ubuntu 14.04 which is not targetted as a supported platform [0] already has 3.2.11 [0] https://libvirt.org/platforms.html Signed-off-by: Ján Tomko --- m4/virt-gnutls.m4 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/m4/virt-gnutls.m4 b/m4/virt-gnutls.m4 index e3869f75cc..13399ac766 100644 --- a/m4/virt-gnutls.m4 +++ b/m4/virt-gnutls.m4 @@ -18,11 +18,15 @@ dnl . dnl AC_DEFUN([LIBVIRT_ARG_GNUTLS],[ - LIBVIRT_ARG_WITH_FEATURE([GNUTLS], [gnutls], [check], [2.2.0]) + LIBVIRT_ARG_WITH_FEATURE([GNUTLS], [gnutls], [check], [3.2.0]) ]) AC_DEFUN([LIBVIRT_CHECK_GNUTLS],[ - LIBVIRT_CHECK_PKG([GNUTLS], [gnutls], [2.2.0]) + LIBVIRT_CHECK_PKG([GNUTLS], [gnutls], [3.2.0]) + + dnl Require gnutls >= 3.2.0 because of 3.2.11 in Ubuntu 14.04 + dnl That should have all the functions we use (in >= 2.12) + dnl and also use nettle, because it's >= 3.0 if test "$with_gnutls" = "yes" ; then dnl Double probe: gnutls >= 2.12 had a configure option for gcrypt and