]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_soundtouch: Use sed to patch configure.ac to use AC_CONFIG_HEADERS
authorStefan Knoblich <stkn@openisdn.net>
Wed, 9 Jan 2013 23:12:08 +0000 (00:12 +0100)
committerStefan Knoblich <stkn@openisdn.net>
Wed, 9 Jan 2013 23:17:02 +0000 (00:17 +0100)
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>
src/mod/applications/mod_soundtouch/Makefile

index 2b3ff9b1ced4038aa222be1dabe84acf225f42c6..33d3e2b227dc2bec27277c6030037c7be2daf92f 100644 (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}