Skip to content

Commit

Permalink
Use AM_CPPFLAGS since autotools deprecated INCLUDE
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sigmavirus24 committed Dec 10, 2016
1 parent bc67233 commit fd039be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/Makefile.am
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit fd039be

Please sign in to comment.