Update the check that is used to determine whether zaptel transcoder support

is present.  The interface has changed.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-03-02 23:03:01 +00:00
parent 53b9bc89c0
commit b59030489b
2 changed files with 6 additions and 6 deletions

View File

@@ -1048,7 +1048,7 @@ if test "${PBX_ZAPTEL}" = 1; then
if test "${ac_cv_zaptel_vldtmf}" = "yes"; then
PBX_ZAPTEL_VLDTMF=1
fi
AC_MSG_CHECKING(for ZT_TCOP_TRANSCODE in zaptel/zaptel.h)
AC_MSG_CHECKING(for ZT_TCOP_ALLOCATE in zaptel/zaptel.h)
saved_cppflags="${CPPFLAGS}"
if test "x${ZAPTEL_DIR}" != "x"; then
CPPFLAGS="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
@@ -1057,7 +1057,7 @@ if test "${PBX_ZAPTEL}" = 1; then
[
AC_LANG_PROGRAM(
[#include <zaptel/zaptel.h>],
[int foo = ZT_TCOP_TRANSCODE;])
[int foo = ZT_TCOP_ALLOCATE;])
],
[ AC_MSG_RESULT(yes)
ac_cv_zaptel_transcode="yes"