diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-11 22:10:43 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-11 22:10:43 +0000 |
commit | bf3d4cdd5e60d91b081b7d86ce2b651e39d194d7 (patch) | |
tree | 4d3bfebca7681b2c637249481a78a8c9d43fd6d1 /configure.ac | |
parent | 3ef79ca4be7cbafbfae14ac8518c196dbd3c00fe (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: http://svn.digium.com/svn/asterisk/trunk@92422 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
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*) |