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

8
configure vendored
View File

@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.ac Revision: 54026 .
# From configure.ac Revision: 55052 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.60.
#
@@ -33405,8 +33405,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
if test "${ac_cv_zaptel_vldtmf}" = "yes"; then
PBX_ZAPTEL_VLDTMF=1
fi
{ echo "$as_me:$LINENO: checking for ZT_TCOP_TRANSCODE in zaptel/zaptel.h" >&5
echo $ECHO_N "checking for ZT_TCOP_TRANSCODE in zaptel/zaptel.h... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: checking for ZT_TCOP_ALLOCATE in zaptel/zaptel.h" >&5
echo $ECHO_N "checking for ZT_TCOP_ALLOCATE in zaptel/zaptel.h... $ECHO_C" >&6; }
saved_cppflags="${CPPFLAGS}"
if test "x${ZAPTEL_DIR}" != "x"; then
CPPFLAGS="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
@@ -33422,7 +33422,7 @@ cat >>conftest.$ac_ext <<_ACEOF
int
main ()
{
int foo = ZT_TCOP_TRANSCODE;
int foo = ZT_TCOP_ALLOCATE;
;
return 0;
}

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"