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:50:40 +0200
commit70b0aac32f629a9fa4d784d7eecac5203c8c8b8f (patch)
treefe16130d842bc7c43ea3f476fd6fc6d3f17ad678
parent15fad5d36bad87e66c1e986348f42a36016a4961 (diff)
downloadgnutls-70b0aac32f629a9fa4d784d7eecac5203c8c8b8f.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 b180f95a20..06af7c8b19 100644
--- a/m4/hooks.m4
+++ b/m4/hooks.m4
@@ -65,10 +65,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], [], [