summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 022e676)
raw | patch | inline | side by side (parent: 022e676)
author | Florian Forster <octo@collectd.org> | |
Wed, 10 Apr 2013 02:33:23 +0000 (04:33 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 10 Apr 2013 02:33:23 +0000 (04:33 +0200) |
On FreeBSD, AM_PATH_LIBGCRYPT sets LIBGCRYPT_CFLAGS but not
LIBGCRYPT_CPPFLAGS. Use both variables to be on the save side.
LIBGCRYPT_CPPFLAGS. Use both variables to be on the save side.
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 8ca5d0184abe606c59f8b7aea6e47aabae6e708f..186b243847402dc92abbbb6a5b9b0a5e3169d0cf 100644 (file)
--- a/configure.in
+++ b/configure.in
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