AM_PATH_LIBGCRYPT from libgcrypt 1.5.0 sets the variables
LIBGCRYPT_CPPFLAGS and LIBGCRYPT_LIBS with their proper
values, not GCRYPT_CPPFLAGS and GCRYPT_LIBS.
---
configure.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure.in b/configure.in
index 7c55827..dce572f 100644
--- a/configure.in
+++ b/configure.in
@@ -1831,6 +1831,8 @@ then
if test "$with_libgcrypt" != "no"; then
AM_PATH_LIBGCRYPT(1:1.2.0,,with_libgcrypt="no (version 1.2.0+
required)")
+ GCRYPT_CPPFLAGS="$LIBGCRYPT_CPPFLAGS"
+ GCRYPT_LIBS="$LIBGCRYPT_LIBS"
fi
fi
--
1.7.10
_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd