Code

configure.in: Check libgcrypt minimum version 1.2.0.
authorDoug MacEachern <dougm@hyperic.com>
Fri, 8 May 2009 06:13:48 +0000 (23:13 -0700)
committerFlorian Forster <octo@huhu.verplant.org>
Sat, 9 May 2009 09:05:41 +0000 (11:05 +0200)
Signed-off-by: Doug MacEachern <dougm@hyperic.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
configure.in

index 3770910fe5a54c33ae2ea70b118bd4437d5bbc1b..e86eab6d0f8be8b3062f65abe1474491074ff6a7 100644 (file)
@@ -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"