mod_soundtouch: Use sed to patch configure.ac to use AC_CONFIG_HEADERS

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>
This commit is contained in:
Stefan Knoblich 2013-01-10 00:12:08 +01:00
parent 4c14b9c7d8
commit 5ae5803e63
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ $(SNDT_BUILD)/Makefile: $(SNDT_SRC)
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}