chan_vpb: Remove deprecated module.

ASTERISK-29597

Change-Id: I19bb39eed0257ddfef453eb2df5646d073d50fe1
This commit is contained in:
Joshua C. Colp
2021-08-16 15:22:11 -03:00
parent 1eb2d85c99
commit 20b2741232
11 changed files with 9 additions and 3344 deletions

157
configure vendored
View File

@@ -720,10 +720,6 @@ PBX_X11
X11_DIR
X11_INCLUDE
X11_LIB
PBX_VPB
VPB_DIR
VPB_INCLUDE
VPB_LIB
PBX_VORBIS
VORBIS_DIR
VORBIS_INCLUDE
@@ -1426,7 +1422,6 @@ with_tonezone
with_unbound
with_unixodbc
with_vorbis
with_vpb
with_x11
with_z
enable_xmldoc
@@ -2196,7 +2191,6 @@ Optional Packages:
--with-unbound=PATH use unbound files in PATH
--with-unixodbc=PATH use unixODBC 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 files in PATH
--with-z=PATH use zlib compression files in PATH
@@ -3057,52 +3051,6 @@ rm -f conftest.val
as_fn_set_status $ac_retval
} # ac_fn_c_compute_int
# ac_fn_cxx_try_link LINENO
# -------------------------
# Try to link conftest.$ac_ext, and return whether this succeeded.
ac_fn_cxx_try_link ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
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 ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
grep -v '^ *+' conftest.err >conftest.er1
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && {
test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext && {
test "$cross_compiling" = yes ||
test -x conftest$ac_exeext
}; then :
ac_retval=0
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
fi
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
# interfere with the next link command; also delete a directory that is
# left behind by Apple's compiler. We do this before executing the actions.
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_cxx_try_link
cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
@@ -12491,38 +12439,6 @@ fi
VPB_DESCRIP="Voicetronix API"
VPB_OPTION="vpb"
PBX_VPB=0
# Check whether --with-vpb was given.
if test "${with_vpb+set}" = set; then :
withval=$with_vpb;
case ${withval} in
n|no)
USE_VPB=no
# -1 is a magic value used by menuselect to know that the package
# was disabled, other than 'not found'
PBX_VPB=-1
;;
y|ye|yes)
ac_mandatory_list="${ac_mandatory_list} VPB"
;;
*)
VPB_DIR="${withval}"
ac_mandatory_list="${ac_mandatory_list} VPB"
;;
esac
fi
X11_DESCRIP="X11"
X11_OPTION="x11"
PBX_X11=0
@@ -32358,79 +32274,6 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for vpb_open in -lvpb" >&5
$as_echo_n "checking for vpb_open in -lvpb... " >&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="${PTHREAD_LIBS} ${LIBS} -lvpb"
CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <vpbapi.h>
int
main ()
{
int q = vpb_open(0,0);
;
return 0;
}
_ACEOF
if ac_fn_cxx_try_link "$LINENO"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
ac_cv_lib_vpb_vpb_open="yes"
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
ac_cv_lib_vpb_vpb_open="no"
fi
rm -f core conftest.err conftest.$ac_objext \
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
$as_echo "#define HAVE_VPB 1" >>confdefs.h
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=""