From: Alan Coopersmith Date: Sat, 19 Jan 2013 16:33:32 +0000 (-0800) Subject: Replace deprecated Automake INCLUDES variable with AM_CPPFLAGS X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;p=free-sw%2Fxcb%2Fdemo Replace deprecated Automake INCLUDES variable with AM_CPPFLAGS 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 --- diff --git a/Makefile.am b/Makefile.am index c2402db..7521af0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ diff --git a/tests/Makefile.am b/tests/Makefile.am index 93ab757..318fcd5 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,7 +1,7 @@ MAINTAINERCLEANFILES = Makefile.in -INCLUDES = $(XCBAUX_CFLAGS) $(XCBIMAGE_CFLAGS) +AM_CPPFLAGS = $(XCBAUX_CFLAGS) $(XCBIMAGE_CFLAGS) bin_PROGRAMS = julia lissajoux flames