From: Stefan Knoblich Date: Wed, 9 Jan 2013 23:12:08 +0000 (+0100) Subject: mod_soundtouch: Use sed to patch configure.ac to use AC_CONFIG_HEADERS X-Git-Tag: v1.3.13~162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ae5803e638cb7fc1b8520278ac1da0e44c5a263;p=thirdparty%2Ffreeswitch.git 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 --- diff --git a/src/mod/applications/mod_soundtouch/Makefile b/src/mod/applications/mod_soundtouch/Makefile index 2b3ff9b1ce..33d3e2b227 100644 --- a/src/mod/applications/mod_soundtouch/Makefile +++ b/src/mod/applications/mod_soundtouch/Makefile @@ -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}