diff options
author | Zoltan Varga <vargaz@gmail.com> | 2012-10-03 12:26:37 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2012-10-03 12:26:37 +0400 |
commit | c1ed4a55703fcdd4874b22e799117ecee76fc307 (patch) | |
tree | 5e25f2878c26d5101e10b863b948e8ab49be4ee5 /libgc/Makefile.am | |
parent | 61a1c77f3774a574681563d44ede66d19276d150 (diff) |
Use AM_CPPFLAGS instead of INCLUDES in Makefile.am files, as the later is no longer supported, see http://lists.gnu.org/archive/html/automake/2012-08/msg00087.html.
Diffstat (limited to 'libgc/Makefile.am')
-rw-r--r-- | libgc/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgc/Makefile.am b/libgc/Makefile.am index e8a0fd5cb3d..49dbe4be81c 100644 --- a/libgc/Makefile.am +++ b/libgc/Makefile.am @@ -22,7 +22,7 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = m4 include doc -INCLUDES = -I$(top_builddir)/.. -I$(top_srcdir)/.. +AM_CPPFLAGS = -I$(top_builddir)/.. -I$(top_srcdir)/.. # # libtool is not capable of creating shared/static versions of a convenience @@ -115,7 +115,7 @@ endif ## We have our own definition of LTCOMPILE because we want to use our ## CFLAGS, not those passed in from the top level make. -LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) $(INCLUDES) \ +LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \ -I$(top_srcdir)/include $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(MY_CFLAGS) $(GC_CFLAGS) LINK = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(MY_CFLAGS) $(LDFLAGS) -o $@ |