summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2007-12-11 22:10:43 +0000
committerMark Michelson <mmichelson@digium.com>2007-12-11 22:10:43 +0000
commit6711a5d567c1ba3e14caab84e37538d90c5505c9 (patch)
tree4d3bfebca7681b2c637249481a78a8c9d43fd6d1 /configure.ac
parentb0968803b941c4c2c299f73306cdf24003aa7366 (diff)
Trunk build would fail due to the nonexistence of zaptel hwgain
structures missing. Patched configure to check for this stuff and put a #ifdef around the offending code in chan_zap. Thanks to file for overseeing this. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4c40c17f9..b7bbfbf5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1140,6 +1140,9 @@ AST_C_DEFINE_CHECK([ZAPTEL_VLDTMF], [ZT_EVENT_REMOVED], [zaptel/zaptel.h])
# Check for transcode support
AST_C_DEFINE_CHECK([ZAPTEL_TRANSCODE], [ZT_TCOP_ALLOCATE], [zaptel/zaptel.h])
+# Check for Zaptel hwgain support
+AST_C_DEFINE_CHECK([ZAPTEL_HWGAIN], [ZT_SET_HWGAIN], [zaptel/zaptel.h])
+
# On FreeBSD, try old zaptel (0.80 or so) and pretend we have vldtmf
case "${host_os}" in
freebsd*)