From b8ae524a25614fc2ddf4ce85e6afa7809e8074f4 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 10 Apr 2013 04:33:23 +0200 Subject: [PATCH] configure.in: Fix libgcrypt flags on FreeBSD. On FreeBSD, AM_PATH_LIBGCRYPT sets LIBGCRYPT_CFLAGS but not LIBGCRYPT_CPPFLAGS. Use both variables to be on the save side. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 8ca5d018..186b2438 100644 --- a/configure.in +++ b/configure.in @@ -1844,7 +1844,7 @@ 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_CPPFLAGS="$LIBGCRYPT_CPPFLAGS $LIBGCRYPT_CFLAGS" GCRYPT_LIBS="$LIBGCRYPT_LIBS" fi fi -- 2.11.0