From fd039be5f1f13cd9278d510ddf8f3ccda0e0d1ec Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Fri, 9 Dec 2016 07:02:23 -0600 Subject: [PATCH] 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. --- include/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.45.0