[gnome-control-center] mouse: Use AM_CPPFLAGS rather than INCLUDES



commit c67a8bf7d54af5387eb0f001d112f62715efb8e4
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Wed Jun 25 11:56:03 2014 +0200

    mouse: Use AM_CPPFLAGS rather than INCLUDES
    
    This is deprecated in newer automake versions, and this causes warnings
    with automake 1.14:
    panels/printers/Makefile.am:3: warning: 'INCLUDES' is the old name for
    AM_CPPFLAGS' (or '*_CPPFLAGS')
    
    https://bugzilla.gnome.org/show_bug.cgi?id=732189

 panels/mouse/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/mouse/Makefile.am b/panels/mouse/Makefile.am
index 6831eb3..8b705a7 100644
--- a/panels/mouse/Makefile.am
+++ b/panels/mouse/Makefile.am
@@ -1,7 +1,7 @@
 # This is used in PANEL_CFLAGS
 cappletname = mouse
 
-INCLUDES =                                             \
+AM_CPPFLAGS =                                          \
        $(PANEL_CFLAGS)                                 \
        $(MOUSE_PANEL_CFLAGS)                           \
        -DGNOMELOCALEDIR="\"$(datadir)/locale\""        \
@@ -34,7 +34,7 @@ test_gnome_mouse_test_SOURCES =               \
 
 noinst_PROGRAMS = test-gnome-mouse-test
 
-test_gnome_mouse_test_CPPFLAGS = $(INCLUDES)
+test_gnome_mouse_test_CPPFLAGS = $(AM_CPPFLAGS)
 test_gnome_mouse_test_LDADD = $(PANEL_LIBS) $(MOUSE_PANEL_LIBS)
 
 resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir) --generate-dependencies 
$(srcdir)/mouse.gresource.xml)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]