From a77bce03b0b5c24e81a09dd191da8439b27ecb0d Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Tue, 3 Feb 2015 20:53:36 -0500 Subject: [PATCH] Require GnuTLS version >= 3.3.0. --- README | 4 +++- configure.ac | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README b/README index 4cfae1e5..578851bb 100644 --- a/README +++ b/README @@ -29,9 +29,11 @@ If you want to do remote connections to a pwmd server: libssh2 - http://libssh2.org/ Version 1.2.9 or later is required for SSH connections. + Optional. gnutls - http://www.gnu.org/software/gnutls/ - For remote connections over TLS. + For remote connections over TLS. Version 3.3.0 or later. + Optional. For functions that use a local pinentry and when --disable-pinentry is not diff --git a/configure.ac b/configure.ac index 0cd7eb18..fe124551 100644 --- a/configure.ac +++ b/configure.ac @@ -176,7 +176,7 @@ if test "x$WITH_GNUTLS" = "xyes"; then WITH_GNUTLS=no if test $have_libgnutls; then - PKG_CHECK_MODULES([GNUTLS], [gnutls]) + PKG_CHECK_MODULES([GNUTLS], [gnutls >= 3.3.0]) AC_DEFINE(WITH_GNUTLS, 1, [Define if you want GnuTLS support.]) WITH_GNUTLS=yes else -- 2.11.4.GIT