mirror of
https://github.com/openwrt/telephony.git
synced 2026-01-06 23:20:17 +04:00
This commit adds VARIANT support. This is so that the module will also be available for Asterisk 13. The current version does not support Asterisk 13. So this commit also updates the package to use the (more recent) source from wdoekes on github, which is also used in master. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
12 lines
419 B
Diff
12 lines
419 B
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -102,7 +102,7 @@ AC_DEFUN([AC_HEADER_FIND], [
|
|
)
|
|
|
|
AC_HEADER_FIND([asterisk.h], $with_asterisk)
|
|
-AC_HEADER_FIND([iconv.h], /usr/include /usr/local/include /opt/local/include)
|
|
+AC_HEADER_FIND([iconv.h], ${CHAN_DONGLE_ICONV_INC})
|
|
|
|
AC_DEFINE([ICONV_CONST],[], [Define to const if you has iconv() const declaration of input buffer])
|
|
AC_MSG_CHECKING([for iconv use const inbuf])
|