mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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:
8
configure
vendored
8
configure
vendored
@@ -1,5 +1,5 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# From configure.ac Revision: 54026 .
|
# From configure.ac Revision: 55052 .
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.60.
|
# 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
|
if test "${ac_cv_zaptel_vldtmf}" = "yes"; then
|
||||||
PBX_ZAPTEL_VLDTMF=1
|
PBX_ZAPTEL_VLDTMF=1
|
||||||
fi
|
fi
|
||||||
{ echo "$as_me:$LINENO: checking for ZT_TCOP_TRANSCODE in zaptel/zaptel.h" >&5
|
{ echo "$as_me:$LINENO: checking for ZT_TCOP_ALLOCATE in zaptel/zaptel.h" >&5
|
||||||
echo $ECHO_N "checking for ZT_TCOP_TRANSCODE in zaptel/zaptel.h... $ECHO_C" >&6; }
|
echo $ECHO_N "checking for ZT_TCOP_ALLOCATE in zaptel/zaptel.h... $ECHO_C" >&6; }
|
||||||
saved_cppflags="${CPPFLAGS}"
|
saved_cppflags="${CPPFLAGS}"
|
||||||
if test "x${ZAPTEL_DIR}" != "x"; then
|
if test "x${ZAPTEL_DIR}" != "x"; then
|
||||||
CPPFLAGS="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
|
CPPFLAGS="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
|
||||||
@@ -33422,7 +33422,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
int foo = ZT_TCOP_TRANSCODE;
|
int foo = ZT_TCOP_ALLOCATE;
|
||||||
;
|
;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@@ -1048,7 +1048,7 @@ if test "${PBX_ZAPTEL}" = 1; then
|
|||||||
if test "${ac_cv_zaptel_vldtmf}" = "yes"; then
|
if test "${ac_cv_zaptel_vldtmf}" = "yes"; then
|
||||||
PBX_ZAPTEL_VLDTMF=1
|
PBX_ZAPTEL_VLDTMF=1
|
||||||
fi
|
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}"
|
saved_cppflags="${CPPFLAGS}"
|
||||||
if test "x${ZAPTEL_DIR}" != "x"; then
|
if test "x${ZAPTEL_DIR}" != "x"; then
|
||||||
CPPFLAGS="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
|
CPPFLAGS="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
|
||||||
@@ -1057,7 +1057,7 @@ if test "${PBX_ZAPTEL}" = 1; then
|
|||||||
[
|
[
|
||||||
AC_LANG_PROGRAM(
|
AC_LANG_PROGRAM(
|
||||||
[#include <zaptel/zaptel.h>],
|
[#include <zaptel/zaptel.h>],
|
||||||
[int foo = ZT_TCOP_TRANSCODE;])
|
[int foo = ZT_TCOP_ALLOCATE;])
|
||||||
],
|
],
|
||||||
[ AC_MSG_RESULT(yes)
|
[ AC_MSG_RESULT(yes)
|
||||||
ac_cv_zaptel_transcode="yes"
|
ac_cv_zaptel_transcode="yes"
|
||||||
|
Reference in New Issue
Block a user