Replace deprecated Automake INCLUDES variable with AM_CPPFLAGS master
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Sat, 19 Jan 2013 16:33:32 +0000 (08:33 -0800)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Sat, 19 Jan 2013 16:33:32 +0000 (08:33 -0800)
Excerpt https://lists.gnu.org/archive/html/automake/2012-12/msg00038.html

  - Support for the long-deprecated INCLUDES variable will be removed
    altogether in Automake 1.14.  The AM_CPPFLAGS variable should be
    used instead.

This variable was deprecated in Automake releases prior to 1.10, which is
the current minimum level required to build X.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Makefile.am
tests/Makefile.am

index c2402db..7521af0 100644 (file)
@@ -5,7 +5,7 @@ SUBDIRS = tests
 
 EXTRA_DIST = autogen.sh README
 
-INCLUDES = $(XCB_CFLAGS)
+AM_CPPFLAGS = $(XCB_CFLAGS)
 LDADD = $(XCB_LIBS)
 
 bin_PROGRAMS = dpms hypnomoire rendertest xcb-test xcbrandr xcbxf86dri \
index 93ab757..318fcd5 100644 (file)
@@ -1,7 +1,7 @@
 
 MAINTAINERCLEANFILES = Makefile.in
 
-INCLUDES = $(XCBAUX_CFLAGS) $(XCBIMAGE_CFLAGS)
+AM_CPPFLAGS = $(XCBAUX_CFLAGS) $(XCBIMAGE_CFLAGS)
 
 bin_PROGRAMS = julia lissajoux flames