diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-08-20 10:49:39 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-08-20 10:49:39 +0200 |
commit | fcc579cf45cc82ba5e0e34db677fa60a9dce46a7 (patch) | |
tree | 8e47c9053c2adfe54170a5666000fb10f8b53ede /m4 | |
parent | 60ded70100e49a49688116fcf0fe04a14a2c49cb (diff) | |
download | gnutls-fcc579cf45cc82ba5e0e34db677fa60a9dce46a7.tar.gz |
configure: print error message when nettle is 3.0 or later
Diffstat (limited to 'm4')
-rw-r--r-- | m4/hooks.m4 | 4 |
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], [], [ |