# HG changeset patch # User Mike Miller # Date 1470782452 25200 # Node ID 77af526c687acc060c2fa36bd10e68a94ac22daa # Parent 94617b6a65545df44de09b0ad785639155b97865 build: ensure project config.h is included properly * Makefile.am (INCFLAGS): Set to $(DEFAULT_INCLUDES) and export to the environment. Forces mkoctfile to include project header files before external header files. diff -r 94617b6a6554 -r 77af526c687a Makefile.am --- a/Makefile.am Tue Aug 09 15:38:27 2016 -0700 +++ b/Makefile.am Tue Aug 09 15:40:52 2016 -0700 @@ -24,6 +24,9 @@ AM_CPPFLAGS = $(OCTAVE_CPPFLAGS) $(PYTHON_CPPFLAGS) -I$(NUMPY_INCLUDEDIR) +INCFLAGS = $(DEFAULT_INCLUDES) +export INCFLAGS + COMMON_SOURCE_FILES = \ exceptions.cc \ octave_to_python.cc \