summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-08-20 10:49:39 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-08-20 10:49:39 +0200
commitfcc579cf45cc82ba5e0e34db677fa60a9dce46a7 (patch)
tree8e47c9053c2adfe54170a5666000fb10f8b53ede
parent60ded70100e49a49688116fcf0fe04a14a2c49cb (diff)
downloadgnutls-fcc579cf45cc82ba5e0e34db677fa60a9dce46a7.tar.gz
configure: print error message when nettle is 3.0 or later
-rw-r--r--m4/hooks.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/hooks.m4 b/m4/hooks.m4
index 42987df9cc..22d5a7bca3 100644
--- a/m4/hooks.m4
+++ b/m4/hooks.m4
@@ -61,10 +61,10 @@ AC_DEFUN([LIBGNUTLS_HOOKS],
DLL_VERSION=`expr ${LT_CURRENT} - ${LT_AGE}`
AC_SUBST(DLL_VERSION)
- PKG_CHECK_MODULES(NETTLE, [nettle >= 2.7], [cryptolib="nettle"], [
+ PKG_CHECK_MODULES(NETTLE, [nettle >= 2.7 nettle < 3.0], [cryptolib="nettle"], [
AC_MSG_ERROR([[
***
- *** Libnettle 2.7 was not found.
+ *** Libnettle 2.7.1 was not found. Note that this version of gnutls doesn't support nettle 3.0.
]])
])
PKG_CHECK_MODULES(HOGWEED, [hogweed >= 2.7], [], [