diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-04-13 13:35:26 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-04-13 13:35:26 +0200 |
commit | 97726aa26eef02b192b8f571beca02f954b9b4e2 (patch) | |
tree | 9e9ce7713370882af1f77fbefe5d3f8a62188edf /m4 | |
parent | 6cfa3b4dab16a1040c07fda6ca4041e0dca32904 (diff) | |
download | gnutls-97726aa26eef02b192b8f571beca02f954b9b4e2.tar.gz |
nettle 2.7 is required
Diffstat (limited to 'm4')
-rw-r--r-- | m4/hooks.m4 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/m4/hooks.m4 b/m4/hooks.m4 index 725acf03bf..7012149a5d 100644 --- a/m4/hooks.m4 +++ b/m4/hooks.m4 @@ -89,12 +89,12 @@ dnl fi AC_MSG_CHECKING([whether to use nettle]) if test "$cryptolib" = "nettle";then AC_MSG_RESULT(yes) - AC_LIB_HAVE_LINKFLAGS([nettle], [hogweed gmp], [#include <nettle/rsa.h>], - [rsa_decrypt_tr (0,0,0,0,0,0,0)]) + AC_LIB_HAVE_LINKFLAGS([nettle], [hogweed gmp], [#include <nettle/umac.h>], + [nettle_umac96_set_nonce (0,0,0)]) if test "$ac_cv_libnettle" != yes; then AC_MSG_ERROR([[ *** - *** Libnettle 2.5 was not found. Note that you must compile nettle with gmp support. + *** Libnettle 2.7 was not found. Note that you must compile nettle with gmp support. ]]) fi else @@ -102,8 +102,6 @@ else fi AM_CONDITIONAL(ENABLE_NETTLE, test "$cryptolib" = "nettle") - AC_CHECK_LIB([nettle], [nettle_umac96_set_nonce], [AC_DEFINE([HAVE_NETTLE27], [], [UMAC detected in nettle])]) - AC_ARG_WITH(included-libtasn1, AS_HELP_STRING([--with-included-libtasn1], [use the included libtasn1]), included_libtasn1=$withval, |