]> andersk Git - libyaml.git/commitdiff
Use AM_CPPFLAGS since autotools deprecated INCLUDE
authorIan Cordasco <graffatcolmingov@gmail.com>
Fri, 9 Dec 2016 13:02:23 +0000 (07:02 -0600)
committerIan Cordasco <graffatcolmingov@gmail.com>
Sat, 10 Dec 2016 17:14:56 +0000 (11:14 -0600)
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

index f81863cbbfe85c5ed588fadbeb02e8f53ff6ef64..3882a2f63dd525e3cd5eff64f6ecbe21bb320b2b 100644 (file)
@@ -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
This page took 0.07722 seconds and 5 git commands to generate.