From: Florian Forster Date: Tue, 29 Apr 2008 08:27:38 +0000 (+0200) Subject: build system: Don't (accidentally) clear the LDFLAGS when checking for libxml2 or... X-Git-Tag: collectd-4.4.0~4^2~9 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=ae6f041d23a71073e447f50f01e5d9ec1ffb34bd;p=collectd.git build system: Don't (accidentally) clear the LDFLAGS when checking for libxml2 or libvirt. --- diff --git a/configure.in b/configure.in index 766b6d6b..3eb17bef 100644 --- a/configure.in +++ b/configure.in @@ -1864,7 +1864,7 @@ fi if test "x$with_libxml2" = "xyes" then SAVE_CFLAGS="$CFLAGS" - SAVE_LD_FLAGS="$LDFLAGS" + SAVE_LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS $with_libxml2_cflags" LDFLAGS="$LDFLAGS $with_libxml2_ldflags" @@ -1909,7 +1909,7 @@ fi if test "x$with_libvirt" = "xyes" then SAVE_CFLAGS="$CFLAGS" - SAVE_LD_FLAGS="$LDFLAGS" + SAVE_LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS $with_libvirt_cflags" LDFLAGS="$LDFLAGS $with_libvirt_ldflags"