From: Ian Cordasco Date: Fri, 9 Dec 2016 13:02:23 +0000 (-0600) Subject: Use AM_CPPFLAGS since autotools deprecated INCLUDE X-Git-Tag: upstream/0.2.1^2~40 X-Git-Url: http://andersk.mit.edu/gitweb/libyaml.git/commitdiff_plain/fd039be5f1f13cd9278d510ddf8f3ccda0e0d1ec Use AM_CPPFLAGS since autotools deprecated INCLUDE autoconf deprecated INCLUDE around version 2.69. No other automake file in the project uses INCLUDE (instead they use AM_CPPFLAGS) and this warning prevents the bootstrap-configure-make process from working on OSX for me. Updating the variable name in the include/Makefile.am fixes this and allows me to move along with development on OSX. --- diff --git a/include/Makefile.am b/include/Makefile.am index f81863c..3882a2f 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1,11 +1,11 @@ -INCLUDES = yaml.h +AM_CPPFLAGS = yaml.h DOXYGEN_CFG = $(top_srcdir)/doc/doxygen.cfg -nobase_include_HEADERS = $(INCLUDES) +nobase_include_HEADERS = $(AM_CPPFLAGS) if DOXYGEN -html: $(INCLUDES) $(DOXYGEN_CFG) +html: $(AM_CPPFLAGS) $(DOXYGEN_CFG) PACKAGE=$(PACKAGE) VERSION=$(VERSION) top_srcdir=$(top_srcdir) top_builddir=$(top_builddir) doxygen $(DOXYGEN_CFG) endif