mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
Removing chan_vpb from the tree
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1 +1 @@
|
||||
34
|
||||
35
|
||||
|
@@ -100,6 +100,4 @@ misdn/isdn_lib.o: ASTCFLAGS+=-Wno-strict-aliasing
|
||||
|
||||
$(if $(filter chan_misdn,$(EMBEDDED_MODS)),modules.link,chan_misdn.so): misdn_config.o misdn/isdn_lib.o misdn/isdn_msg_parser.o
|
||||
|
||||
chan_vpb.oo: ASTCFLAGS:=$(filter-out -Wdeclaration-after-statement,$(ASTCFLAGS))
|
||||
|
||||
$(if $(filter chan_oss,$(EMBEDDED_MODS)),modules.link,chan_oss.so): console_video.o vgrabbers.o console_board.o
|
||||
|
2899
channels/chan_vpb.cc
2899
channels/chan_vpb.cc
File diff suppressed because it is too large
Load Diff
147
configure
vendored
147
configure
vendored
@@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# From configure.ac Revision: 98985 .
|
||||
# From configure.ac Revision: 99696 .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.61 for asterisk 1.4.
|
||||
#
|
||||
@@ -905,10 +905,6 @@ VORBIS_LIB
|
||||
VORBIS_INCLUDE
|
||||
VORBIS_DIR
|
||||
PBX_VORBIS
|
||||
VPB_LIB
|
||||
VPB_INCLUDE
|
||||
VPB_DIR
|
||||
PBX_VPB
|
||||
X11_LIB
|
||||
X11_INCLUDE
|
||||
X11_DIR
|
||||
@@ -1624,7 +1620,6 @@ Optional Packages:
|
||||
--with-tonezone=PATH use tonezone files in PATH
|
||||
--with-usb=PATH use usb files in PATH
|
||||
--with-vorbis=PATH use Vorbis files in PATH
|
||||
--with-vpb=PATH use Voicetronix API files in PATH
|
||||
--with-x11=PATH use X11 support files in PATH
|
||||
--with-z=PATH use zlib files in PATH
|
||||
--with-zaptel=PATH use Zaptel files in PATH
|
||||
@@ -9230,34 +9225,6 @@ fi
|
||||
|
||||
|
||||
|
||||
VPB_DESCRIP="Voicetronix API"
|
||||
VPB_OPTION="vpb"
|
||||
|
||||
# Check whether --with-vpb was given.
|
||||
if test "${with_vpb+set}" = set; then
|
||||
withval=$with_vpb;
|
||||
case ${withval} in
|
||||
n|no)
|
||||
USE_VPB=no
|
||||
;;
|
||||
y|ye|yes)
|
||||
ac_mandatory_list="${ac_mandatory_list} VPB"
|
||||
;;
|
||||
*)
|
||||
VPB_DIR="${withval}"
|
||||
ac_mandatory_list="${ac_mandatory_list} VPB"
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
|
||||
PBX_VPB=0
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
X11_DESCRIP="X11 support"
|
||||
X11_OPTION="x11"
|
||||
|
||||
@@ -44742,104 +44709,6 @@ _ACEOF
|
||||
fi
|
||||
|
||||
|
||||
ac_ext=cpp
|
||||
ac_cpp='$CXXCPP $CPPFLAGS'
|
||||
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
||||
|
||||
|
||||
if test "${USE_VPB}" != "no"; then
|
||||
{ echo "$as_me:$LINENO: checking for vpb_open in -lvpb" >&5
|
||||
echo $ECHO_N "checking for vpb_open in -lvpb... $ECHO_C" >&6; }
|
||||
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="${LIBS} -lvpb -lpthread"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
#include <vpbapi.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
int q = vpb_open(0,0);
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
||||
_ACEOF
|
||||
rm -f conftest.$ac_objext conftest$ac_exeext
|
||||
if { (ac_try="$ac_link"
|
||||
case "(($ac_try" in
|
||||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
||||
*) ac_try_echo=$ac_try;;
|
||||
esac
|
||||
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
||||
(eval "$ac_link") 2>conftest.er1
|
||||
ac_status=$?
|
||||
grep -v '^ *+' conftest.er1 >conftest.err
|
||||
rm -f conftest.er1
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); } && {
|
||||
test -z "$ac_cxx_werror_flag" ||
|
||||
test ! -s conftest.err
|
||||
} && test -s conftest$ac_exeext &&
|
||||
$as_test_x conftest$ac_exeext; then
|
||||
{ echo "$as_me:$LINENO: result: yes" >&5
|
||||
echo "${ECHO_T}yes" >&6; }
|
||||
ac_cv_lib_vpb_vpb_open="yes"
|
||||
|
||||
else
|
||||
echo "$as_me: failed program was:" >&5
|
||||
sed 's/^/| /' conftest.$ac_ext >&5
|
||||
|
||||
{ echo "$as_me:$LINENO: result: no" >&5
|
||||
echo "${ECHO_T}no" >&6; }
|
||||
ac_cv_lib_vpb_vpb_open="no"
|
||||
|
||||
|
||||
fi
|
||||
|
||||
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
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
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define HAVE_VPB 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
|
||||
|
||||
if test "x${PBX_ZLIB}" != "x1" -a "${USE_ZLIB}" != "no"; then
|
||||
pbxlibdir=""
|
||||
@@ -49879,12 +49748,12 @@ VORBIS_LIB!$VORBIS_LIB$ac_delim
|
||||
VORBIS_INCLUDE!$VORBIS_INCLUDE$ac_delim
|
||||
VORBIS_DIR!$VORBIS_DIR$ac_delim
|
||||
PBX_VORBIS!$PBX_VORBIS$ac_delim
|
||||
VPB_LIB!$VPB_LIB$ac_delim
|
||||
VPB_INCLUDE!$VPB_INCLUDE$ac_delim
|
||||
VPB_DIR!$VPB_DIR$ac_delim
|
||||
PBX_VPB!$PBX_VPB$ac_delim
|
||||
X11_LIB!$X11_LIB$ac_delim
|
||||
X11_INCLUDE!$X11_INCLUDE$ac_delim
|
||||
X11_DIR!$X11_DIR$ac_delim
|
||||
PBX_X11!$PBX_X11$ac_delim
|
||||
ZLIB_LIB!$ZLIB_LIB$ac_delim
|
||||
ZLIB_INCLUDE!$ZLIB_INCLUDE$ac_delim
|
||||
_ACEOF
|
||||
|
||||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
|
||||
@@ -49926,10 +49795,6 @@ _ACEOF
|
||||
ac_delim='%!_!# '
|
||||
for ac_last_try in false false false false false :; do
|
||||
cat >conf$$subs.sed <<_ACEOF
|
||||
X11_DIR!$X11_DIR$ac_delim
|
||||
PBX_X11!$PBX_X11$ac_delim
|
||||
ZLIB_LIB!$ZLIB_LIB$ac_delim
|
||||
ZLIB_INCLUDE!$ZLIB_INCLUDE$ac_delim
|
||||
ZLIB_DIR!$ZLIB_DIR$ac_delim
|
||||
PBX_ZLIB!$PBX_ZLIB$ac_delim
|
||||
ZAPTEL_LIB!$ZAPTEL_LIB$ac_delim
|
||||
@@ -49998,7 +49863,7 @@ CURL_CONFIG!$CURL_CONFIG$ac_delim
|
||||
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
||||
_ACEOF
|
||||
|
||||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 70; then
|
||||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
|
||||
break
|
||||
elif $ac_last_try; then
|
||||
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
||||
|
45
configure.ac
45
configure.ac
@@ -248,7 +248,6 @@ AST_EXT_LIB_SETUP([TINFO], [Term Info], [tinfo])
|
||||
AST_EXT_LIB_SETUP([TONEZONE], [tonezone], [tonezone])
|
||||
AST_EXT_LIB_SETUP([USB], [usb], [usb])
|
||||
AST_EXT_LIB_SETUP([VORBIS], [Vorbis], [vorbis])
|
||||
AST_EXT_LIB_SETUP([VPB], [Voicetronix API], [vpb])
|
||||
AST_EXT_LIB_SETUP([X11], [X11 support], [x11])
|
||||
AST_EXT_LIB_SETUP([ZLIB], [zlib], [z])
|
||||
AST_EXT_LIB_SETUP([ZAPTEL], [Zaptel], [zaptel])
|
||||
@@ -1002,50 +1001,6 @@ AST_EXT_LIB_CHECK([USB], [usb], [usb_init], [usb.h], [])
|
||||
|
||||
AST_EXT_LIB_CHECK([VORBIS], [vorbis], [vorbis_info_init], [vorbis/codec.h], [-lm -lvorbisenc])
|
||||
|
||||
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="${LIBS} -lvpb -lpthread"
|
||||
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])
|
||||
|
||||
# Check for various zaptel features and locations.
|
||||
|
@@ -993,9 +993,6 @@
|
||||
/* Define to indicate the ${VORBIS_DESCRIP} library version */
|
||||
#undef HAVE_VORBIS_VERSION
|
||||
|
||||
/* Define if your system has the VoiceTronix API libraries. */
|
||||
#undef HAVE_VPB
|
||||
|
||||
/* Define to 1 if you have the `vprintf' function. */
|
||||
#undef HAVE_VPRINTF
|
||||
|
||||
|
Reference in New Issue
Block a user