From: l2dy Date: Sun, 13 Dec 2015 17:36:47 +0000 (+0800) Subject: mbedtls havege X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;ds=sidebyside;h=e7abfa053329f8fa0f0e7c2aec63fb1a97a48280;hp=--cc;p=umurmur.git mbedtls havege --- e7abfa053329f8fa0f0e7c2aec63fb1a97a48280 diff --git a/configure.ac b/configure.ac index 3a03f50..6771642 100644 --- a/configure.ac +++ b/configure.ac @@ -106,7 +106,8 @@ AS_IF([test "x$with_ssl" = xmbedtls], [ AC_DEFINE([USE_MBEDTLS_TESTCERT], [], [Use mbedTLS test certificate]) ]) AS_IF([test "x$enable_mbedtls_havege" = xyes], [ - AC_CHECK_LIB([mbedtls], [havege_init], [], [AC_MSG_ERROR([could not find havege_init])]) + AC_CHECK_HEADERS([mbedtls/havege.h], [], [AC_MSG_ERROR([could not find mbedtls/havege.h])]) + AC_CHECK_LIB([mbedcrypto], [mbedtls_havege_init], [], [AC_MSG_ERROR([could not find mbedtls_havege_init])]) AC_DEFINE([USE_MBEDTLS_HAVEGE], [], [Use mbedTLS HAVEGE random generator]) ]) ])