you need 1.0.4 of speex

Original commit message from CVS:
you need 1.0.4 of speex
This commit is contained in:
Thomas Vander Stichele 2004-10-04 15:11:49 +00:00
parent 134a5deecb
commit 1d0ae896fd
2 changed files with 16 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2004-10-04 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
you need at least 1.0.4 of speex
2004-10-04 Iain <iaingnome@gmail.com> 2004-10-04 Iain <iaingnome@gmail.com>
* ext/speex/gstspeexdec.h: Revert the includes changes. * ext/speex/gstspeexdec.h: Revert the includes changes.

View file

@ -1432,7 +1432,7 @@ GST_CHECK_FEATURE(LIBPNG, [snapshot plug-in], snapshot, [
AC_SUBST(LIBPNG_LIBS) AC_SUBST(LIBPNG_LIBS)
]) ])
dnl *** speex 1.0.x or >= 1.1.5 *** dnl *** speex >= 1.0.4 or >= 1.1.5 ***
dnl 1.1.4 and earlier were not API/ABI compatible with 1.0 dnl 1.1.4 and earlier were not API/ABI compatible with 1.0
dnl 1.1.6 is the first to use a .pc/pkg-config file *** dnl 1.1.6 is the first to use a .pc/pkg-config file ***
dnl speex_jitter.h is 1.1.x only dnl speex_jitter.h is 1.1.x only
@ -1455,12 +1455,17 @@ GST_CHECK_FEATURE(SPEEX, [speex plug-in], speex, [
],[ ],[
HAVE_SPEEX="no" HAVE_SPEEX="no"
]) ])
], [ ],[
dnl speex 1.0.x : dnl speex 1.0.x :
AC_CHECK_DECL(SPEEX_GET_LOOKAHEAD, [
dnl speex 1.0.4
HAVE_SPEEX="yes" HAVE_SPEEX="yes"
SPEEX_LIBS="-lspeex" SPEEX_LIBS="-lspeex"
AC_SUBST(SPEEX_CFLAGS) AC_SUBST(SPEEX_CFLAGS)
AC_SUBST(SPEEX_LIBS) AC_SUBST(SPEEX_LIBS)
],[
AC_MSG_NOTICE(You need at least 1.0.4 to compile the speex plugin)
])
]) ])
]) ])
]) ])