diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-09-18 00:53:56 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-09-18 11:53:08 -0700 |
commit | 552f60789263ad2a1d983cf5b479af63d90f7591 (patch) | |
tree | 1603ed72f950cdcc6aa6ac01081393831d96fda4 | |
parent | 69f2580fd47cfe24105892e9ffb79cd046954b7d (diff) |
Use AM_CPPFLAGS to use in tree headers before installed headers
This addresses a build failure found by the tinderbox.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | src/Makefile.am | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index c036ae7..806265c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -64,10 +64,11 @@ libXi_la_SOURCES = \ libXi_la_LIBADD = $(XI_LIBS) -AM_CFLAGS = -I$(top_srcdir)/include \ - -I$(top_srcdir)/include/X11 \ - -I$(top_srcdir)/include/X11/extensions \ - $(XI_CFLAGS) \ +AM_CPPFLAGS = -I$(top_srcdir)/include \ + -I$(top_srcdir)/include/X11 \ + -I$(top_srcdir)/include/X11/extensions + +AM_CFLAGS = $(XI_CFLAGS) \ $(MALLOC_ZERO_CFLAGS) \ $(CWARNFLAGS) |