From: Dagobert Michelsen Date: Mon, 8 Jul 2019 11:23:18 +0000 (+0200) Subject: Fix bug that leads to CPPFLAGS gets overridden with CFLAGS when libxxms is enabled X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f4fa18f660da282231d35e88ca871bdfba3b4c4d;p=collectd.git Fix bug that leads to CPPFLAGS gets overridden with CFLAGS when libxxms is enabled (cherry picked from commit e4c981472890655a5113d5b3bd643f62f19d0139) --- diff --git a/configure.ac b/configure.ac index ac072b02..a1ce009a 100644 --- a/configure.ac +++ b/configure.ac @@ -5771,7 +5771,7 @@ if test "x$with_libxmms" = "xyes"; then fi if test "x$with_libxmms" = "xyes"; then - SAVE_CPPFLAGS="$CFLAGS" + SAVE_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$with_xmms_cflags" AC_CHECK_HEADER([xmmsctrl.h],