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



commit 6c9cc171f5b4c39fcbf4c2fefb61420c7a50fc8b
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Wed Jun 25 11:59:25 2014 +0200

    search-provider: 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

 search-provider/Makefile.am |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/search-provider/Makefile.am b/search-provider/Makefile.am
index 7796e08..2314d66 100644
--- a/search-provider/Makefile.am
+++ b/search-provider/Makefile.am
@@ -12,7 +12,8 @@ $(dbus_shell_search_provider_built_sources) : Makefile.am $(srcdir)/org.gnome.Sh
                $(srcdir)/org.gnome.ShellSearchProvider2.xml            \
                $(NULL)
 
-INCLUDES =                                     \
+AM_CPPFLAGS =                                  \
+       -DGNOMELOCALEDIR="\"$(datadir)/locale\""\
        -DCC_PANEL_LOADER_NO_GTYPES             \
        -I$(top_srcdir)                         \
        $(SHELL_CFLAGS)                         \
@@ -37,8 +38,6 @@ gnome_control_center_search_provider_LDADD =  \
        $(top_builddir)/shell/libshell.la       \
        $(SHELL_LIBS)
 
-AM_CPPFLAGS = -DGNOMELOCALEDIR="\"$(datadir)/locale\""
-
 CLEANFILES = $(BUILT_SOURCES) $(service_DATA)
 
 servicedir = $(datadir)/dbus-1/services


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