From 597ada32b2fa15ec637e4e7385d7a821c2f6e682 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 2 Mar 2013 18:13:27 +0100 Subject: [PATCH] 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 --- configure.in | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.11.0