From: Florian Forster Date: Wed, 10 Apr 2013 02:33:23 +0000 (+0200) Subject: configure.in: Fix libgcrypt flags on FreeBSD. X-Git-Tag: collectd-5.3.0~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b8ae524a25614fc2ddf4ce85e6afa7809e8074f4;p=collectd.git 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. --- 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