From: Nikos Mavrogiannopoulos Date: Mon, 10 Oct 2011 16:35:29 +0000 (+0200) Subject: check for nettle 2.4 or later X-Git-Tag: gnutls_3_0_4~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=155ec71e76db0a374e42e9bbd2a8c9c5918dd254;p=thirdparty%2Fgnutls.git check for nettle 2.4 or later --- diff --git a/m4/hooks.m4 b/m4/hooks.m4 index f093e3cfd1..97bbe92382 100644 --- a/m4/hooks.m4 +++ b/m4/hooks.m4 @@ -82,12 +82,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 ], - [gcm_set_iv (0, 0, 0, 0)]) + AC_LIB_HAVE_LINKFLAGS([nettle], [hogweed gmp], [#include ], + [ripemd160_init (0)]) if test "$ac_cv_libnettle" != yes; then AC_MSG_ERROR([[ *** - *** Libnettle 2.2 was not found. + *** Libnettle 2.4 was not found. ]]) fi else