AM_CONFIG_HEADER is deprecated in automake 1.13.1 (and temporarily not available in 1.13),
the replacement is available in autoconf-2.59 (and maybe before).
NOTE: Remove sed hackery when upstream has released a fixed version (> 1.7.0)
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
mkdir -p $(SNDT_BUILD)/config/m4
rm -rf $(SNDT_BUILD)/config/m4/*
rm -rf $(SNDT_SRC)/config/m4/*
+ sed -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' $(SNDT_SRC)/configure.ac > $(SNDT_SRC)/configure.ac.tmp && \
+ mv $(SNDT_SRC)/configure.ac.tmp $(SNDT_SRC)/configure.ac
cd $(SNDT_SRC) && AUTOMAKE="automake --add-missing --foreign --copy" autoreconf -fisv
cd ${SNDT_BUILD} && $(DEFAULT_VARS) $(SNDT_SRC)/configure $(DEFAULT_ARGS) --enable-integer-samples --srcdir=$(SNDT_SRC)
${TOUCH_TARGET}