From: Dan Fandrich Date: Sat, 2 Mar 2013 17:13:27 +0000 (+0100) Subject: Fix automatic link flags with libgcrypt 1.5.0 X-Git-Tag: collectd-5.3.0~32 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=597ada32b2fa15ec637e4e7385d7a821c2f6e682;p=collectd.git Fix automatic link flags with libgcrypt 1.5.0 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. Signed-off-by: Florian Forster --- diff --git a/configure.in b/configure.in index 1492ba2f..8a0cebb6 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