[libvirt] [PATCH 3/8] Require GnuTLS >= 3.2.0

Ján Tomko jtomko at redhat.com
Tue May 15 12:03:49 UTC 2018


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 <jtomko at redhat.com>
---
 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 <http://www.gnu.org/licenses/>.
 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
-- 
2.16.1




More information about the libvir-list mailing list