mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Make sure that either the main speex library contains preprocess functions or that speexdsp does. If both fail then speex stuff can not be built.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@115327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
11
configure.ac
11
configure.ac
@@ -1269,7 +1269,18 @@ AST_EXT_LIB_CHECK([RADIUS], [radiusclient-ng], [rc_read_config], [radiusclient-n
|
||||
|
||||
AST_EXT_LIB_CHECK([SPEEX], [speex], [speex_encode], [speex/speex.h], [-lm])
|
||||
|
||||
# See if the main speex library contains the preprocess functions
|
||||
AST_EXT_LIB_CHECK([SPEEX_PREPROCESS], [speex_preprocess_ctl], [speex/speex.h], [-lm])
|
||||
if test "${PBX_SPEEX_PREPROCESS}" = 1; then
|
||||
PBX_SPEEX_PREPROCESS=1
|
||||
fi
|
||||
|
||||
AST_EXT_LIB_CHECK([SPEEXDSP], [speexdsp], [speex_preprocess_ctl], [speex/speex.h], [-lm])
|
||||
if test "${PBX_SPEEXDSP}" = 1; then
|
||||
PBX_SPEEX_PREPROCESS=1
|
||||
fi
|
||||
|
||||
AC_SUBST(PBX_SPEEX_PREPROCESS)
|
||||
|
||||
AST_EXT_LIB_CHECK([SQLITE], [sqlite], [sqlite_exec], [sqlite.h])
|
||||
|
||||
|
Reference in New Issue
Block a user