From c00ab0351d72b23394435782fcd04da81bf0b8e1 Mon Sep 17 00:00:00 2001 From: Paul Fariello Date: Fri, 12 Apr 2019 22:30:39 +0200 Subject: [PATCH] Look for gcry_md_extract (libgcrypt >= 1.7.0) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 06daa8d9..097e13f7 100644 --- a/configure.ac +++ b/configure.ac @@ -280,7 +280,7 @@ if test "x$enable_omemo" != xno; then [AC_MSG_ERROR([libsignal-protocol-c is required for OMEMO support])], [AC_MSG_NOTICE([libsignal-protocol-c not found, OMEMO support not enabled])])])]) - AC_CHECK_LIB([gcrypt], [gcry_check_version], + AC_CHECK_LIB([gcrypt], [gcry_md_extract], [LIBS="-lgcrypt $LIBS"], [AM_CONDITIONAL([BUILD_OMEMO], [false]) AS_IF([test "x$enable_omemo" = xyes],