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



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

    printers: 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/printers/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/panels/printers/Makefile.am b/panels/printers/Makefile.am
index 63a33b4..3e34194 100644
--- a/panels/printers/Makefile.am
+++ b/panels/printers/Makefile.am
@@ -1,6 +1,6 @@
 cappletname = printers
 
-INCLUDES =                                             \
+AM_CPPFLAGS =                                          \
        $(PANEL_CFLAGS)                                 \
        $(PRINTERS_PANEL_CFLAGS)                        \
        $(CUPS_CFLAGS)                                  \
@@ -48,6 +48,7 @@ libprinters_la_SOURCES =              \
        cc-printers-panel.c             \
        cc-printers-panel.h
 
+libprinters_la_CPPFLAGS = $(AM_CPPFLAGS)
 libprinters_la_LIBADD = $(PRINTERS_PANEL_LIBS) $(PANEL_LIBS) $(CUPS_LIBS) $(SMBCLIENT_LIBS)
 
 resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir) --generate-dependencies 
$(srcdir)/printers.gresource.xml)


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