Commit ca70c148 authored by strk's avatar strk

Define HAVE_SPEEXDSP when this is the case, disable SPEEX when that is not available


git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@297 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent d55430f3
...@@ -318,6 +318,7 @@ PKG_CHECK_MODULES(SPEEX, speex >= 1.2beta3, build_speex=yes) ...@@ -318,6 +318,7 @@ PKG_CHECK_MODULES(SPEEX, speex >= 1.2beta3, build_speex=yes)
build_resample=false build_resample=false
PKG_CHECK_MODULES(SPEEXDSP, speexdsp >= 1.2beta3, PKG_CHECK_MODULES(SPEEXDSP, speexdsp >= 1.2beta3,
[SPEEX_LIBS="$SPEEX_LIBS $SPEEXDSP_LIBS" [SPEEX_LIBS="$SPEEX_LIBS $SPEEXDSP_LIBS"
AC_DEFINE(HAVE_SPEEXDSP,1,[have speexdsp library])
build_resample=yes] , build_resample=yes] ,
[AC_MSG_NOTICE([No speexdsp library found.]) [AC_MSG_NOTICE([No speexdsp library found.])
] ]
......
...@@ -23,6 +23,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -23,6 +23,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define DISABLE_SPEEX #define DISABLE_SPEEX
#endif #endif
#ifndef HAVE_SPEEXDSP
#define DISABLE_SPEEX
#endif
#ifndef DISABLE_SPEEX #ifndef DISABLE_SPEEX
#include <speex/speex_preprocess.h> #include <speex/speex_preprocess.h>
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment