From 8b70e52443963fa7a8d017496bd67f9455eeddbc Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 19 Jan 2013 08:33:32 -0800 Subject: [PATCH] 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 --- Makefile.am | 2 +- tests/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1