X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=configure.ac;h=f39096e7c27e114d0f0fea231ea84b041d47aeb6;hp=e869a6a0912c5d1e9dca55b7eee82ccd7e2fb34b;hb=7111bb6df7628edce3a8e538b386fbe27633a191;hpb=7c2336dde35a7b42853b6ca167d4164619e52333 diff --git a/configure.ac b/configure.ac index e869a6a0..f39096e7 100644 --- a/configure.ac +++ b/configure.ac @@ -5524,15 +5524,15 @@ if test "x$with_libxmms" = "xyes"; then fi if test "x$with_libxmms" = "xyes"; then - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$with_xmms_cflags" + SAVE_CPPFLAGS="$CFLAGS" + CPPFLAGS="$with_xmms_cflags" AC_CHECK_HEADER([xmmsctrl.h], [with_libxmms="yes"], [with_libxmms="no"], ) - CFLAGS="$SAVE_CFLAGS" + CPPFLAGS="$SAVE_CPPFLAGS" fi if test "x$with_libxmms" = "xyes"; then