From 023d494822fea9c3840e75964451fd9d5213ae06 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 23 Apr 2012 22:01:16 -0700 Subject: Move -I flags from AM_CFLAGS to AM_CPPFLAGS Ensures local copy of headers takes precedence over any -I flags the builder may have passed in CPPFLAGS. Signed-off-by: Alan Coopersmith Reviewed-by: Peter Hutterer --- src/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 1091ece..67bf36e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,9 +6,11 @@ libXtst_la_SOURCES = \ libXtst_la_LIBADD = @XTST_LIBS@ -AM_CFLAGS = \ +AM_CPPFLAGS = \ -I$(top_srcdir)/include \ - -I$(top_srcdir)/include/X11/extensions \ + -I$(top_srcdir)/include/X11/extensions + +AM_CFLAGS = \ $(XTST_CFLAGS) \ $(CWARNFLAGS) -- cgit v1.2.3