From 5f3f72cbb9e67977ae44a311a826e767f4d6f45f Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 7 May 2009 23:13:48 -0700 Subject: [PATCH] configure.in: Check libgcrypt minimum version 1.2.0. Signed-off-by: Doug MacEachern Signed-off-by: Florian Forster --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.in b/configure.in index 3770910f..e86eab6d 100644 --- a/configure.in +++ b/configure.in @@ -1383,6 +1383,10 @@ then AC_CHECK_LIB(gcrypt, gcry_md_hash_buffer, [with_libgcrypt="yes"], [with_libgcrypt="no (symbol gcry_md_hash_buffer not found)"]) + + if test "$with_libgcrypt" != "no"; then + AM_PATH_LIBGCRYPT(1:1.2.0,,with_libgcrypt="no (version 1.2.0+ required)") + fi fi CPPFLAGS="$SAVE_CPPFLAGS" -- 2.11.0