mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
chan_vpb: Remove deprecated module.
ASTERISK-29597 Change-Id: I19bb39eed0257ddfef453eb2df5646d073d50fe1
This commit is contained in:
46
configure.ac
46
configure.ac
@@ -598,7 +598,6 @@ AST_EXT_LIB_SETUP([TONEZONE], [tonezone], [tonezone])
|
||||
AST_EXT_LIB_SETUP([UNBOUND], [unbound], [unbound])
|
||||
AST_EXT_LIB_SETUP([UNIXODBC], [unixODBC], [unixodbc])
|
||||
AST_EXT_LIB_SETUP([VORBIS], [Vorbis], [vorbis])
|
||||
AST_EXT_LIB_SETUP([VPB], [Voicetronix API], [vpb])
|
||||
AST_EXT_LIB_SETUP([X11], [X11], [x11])
|
||||
AST_EXT_LIB_SETUP([ZLIB], [zlib compression], [z])
|
||||
|
||||
@@ -2715,51 +2714,6 @@ AST_EXT_LIB_CHECK([TONEZONE], [tonezone], [tone_zone_find], [dahdi/tonezone.h],
|
||||
AST_EXT_LIB_CHECK([VORBIS], [vorbis], [vorbis_info_init], [vorbis/codec.h], [-lm -lvorbisenc -lvorbisfile])
|
||||
AST_C_DECLARE_CHECK([VORBIS_OPEN_CALLBACKS], [OV_CALLBACKS_NOCLOSE], [vorbis/vorbisfile.h])
|
||||
|
||||
AC_LANG_PUSH(C++)
|
||||
|
||||
if test "${USE_VPB}" != "no"; then
|
||||
AC_MSG_CHECKING(for vpb_open in -lvpb)
|
||||
saved_libs="${LIBS}"
|
||||
saved_cppflags="${CPPFLAGS}"
|
||||
if test "x${VPB_DIR}" != "x"; then
|
||||
if test -d ${VPB_DIR}/lib; then
|
||||
vpblibdir=${VPB_DIR}/lib
|
||||
else
|
||||
vpblibdir=${VPB_DIR}
|
||||
fi
|
||||
LIBS="${LIBS} -L${vpblibdir}"
|
||||
CPPFLAGS="${CPPFLAGS} -I${VPB_DIR}/include"
|
||||
fi
|
||||
LIBS="${PTHREAD_LIBS} ${LIBS} -lvpb"
|
||||
CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}"
|
||||
AC_LINK_IFELSE(
|
||||
[
|
||||
AC_LANG_PROGRAM(
|
||||
[#include <vpbapi.h>],
|
||||
[int q = vpb_open(0,0);])
|
||||
],
|
||||
[ AC_MSG_RESULT(yes)
|
||||
ac_cv_lib_vpb_vpb_open="yes"
|
||||
],
|
||||
[ AC_MSG_RESULT(no)
|
||||
ac_cv_lib_vpb_vpb_open="no"
|
||||
]
|
||||
)
|
||||
LIBS="${saved_libs}"
|
||||
CPPFLAGS="${saved_cppflags}"
|
||||
if test "${ac_cv_lib_vpb_vpb_open}" = "yes"; then
|
||||
VPB_LIB="-lvpb"
|
||||
if test "${VPB_DIR}" != ""; then
|
||||
VPB_LIB="-L${vpblibdir} ${VPB_LIB}"
|
||||
VPB_INCLUDE="-I${VPB_DIR}/include"
|
||||
fi
|
||||
PBX_VPB=1
|
||||
AC_DEFINE([HAVE_VPB], 1, [Define if your system has the VoiceTronix API libraries.])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_LANG_POP
|
||||
|
||||
AST_EXT_LIB_CHECK([ZLIB], [z], [compress], [zlib.h])
|
||||
|
||||
if test "x${PBX_UNIXODBC}" = "x1" -o "x${PBX_IODBC}" = "x1"; then
|
||||
|
Reference in New Issue
Block a user