Fix bug that leads to CPPFLAGS gets overridden with CFLAGS when libxxms is enabled
authorDagobert Michelsen <dam@opencsw.org>
Mon, 8 Jul 2019 11:23:18 +0000 (13:23 +0200)
committerMatthias Runge <mrunge@redhat.com>
Tue, 23 Jul 2019 11:54:25 +0000 (13:54 +0200)
(cherry picked from commit e4c981472890655a5113d5b3bd643f62f19d0139)

configure.ac

index ac072b0..a1ce009 100644 (file)
@@ -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],