diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-25 22:39:35 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-25 22:39:35 +0000 |
commit | 32dbf3859ee61950be8a0dd5164bb84969db4611 (patch) | |
tree | 5baf2cc4ca9e69c86d905042364d0a856012e18a /configure.ac | |
parent | dd766d1fbd5576088597e1169f6eb4f6adc427a5 (diff) |
Removing chan_vpb from the tree
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100420 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/configure.ac b/configure.ac index 6be37a614..c48e91379 100644 --- a/configure.ac +++ b/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. |