From: Ruben Kerkhof Date: Tue, 4 Aug 2015 13:40:34 +0000 (+0200) Subject: gcrypt: take search path into account X-Git-Tag: collectd-5.5.1~40^2~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c06b91ff996f55eac5da78a6a6c9784b636c4b2f;p=collectd.git gcrypt: take search path into account --- diff --git a/configure.ac b/configure.ac index 2175beea..2dfa9d86 100644 --- a/configure.ac +++ b/configure.ac @@ -1971,8 +1971,10 @@ fi SAVE_CPPFLAGS="$CPPFLAGS" SAVE_LDFLAGS="$LDFLAGS" +SAVE_LIBS="$LIBS" CPPFLAGS="$CPPFLAGS $GCRYPT_CPPFLAGS" LDFLAGS="$LDFLAGS $GCRYPT_LDFLAGS" +LIBS="$LIBS $GCRYPT_LIBS" if test "x$with_libgcrypt" = "xyes" then @@ -2000,6 +2002,7 @@ fi CPPFLAGS="$SAVE_CPPFLAGS" LDFLAGS="$SAVE_LDFLAGS" +LIBS="$SAVE_LIBS" if test "x$with_libgcrypt" = "xyes" then