From: Doug MacEachern Date: Fri, 8 May 2009 06:13:48 +0000 (-0700) Subject: configure.in: Check libgcrypt minimum version 1.2.0. X-Git-Tag: collectd-4.7.0^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5f3f72cbb9e67977ae44a311a826e767f4d6f45f;p=collectd.git configure.in: Check libgcrypt minimum version 1.2.0. Signed-off-by: Doug MacEachern Signed-off-by: Florian Forster --- 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"