Use AC_CONFIG_HEADERS rather than the deprecated AM_CONFIG_HEADER
Use AM_CPPFLAGS instead of INCLUDES; new name