summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-03-15 22:34:48 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-03-15 22:34:48 +0000
commitceeb839a4620b963c693ac9c399388a81bb86a1e (patch)
treeebcba557eaf49c57908948187233662c0bedc2ca
parentbdc6434aa1906c6bc128eeb701240f38e28e5744 (diff)
downloadgst-plugins-bad-ceeb839a4620b963c693ac9c399388a81bb86a1e.tar.gz
gst-plugins-bad-ceeb839a4620b963c693ac9c399388a81bb86a1e.tar.bz2
gst-plugins-bad-ceeb839a4620b963c693ac9c399388a81bb86a1e.zip
work with speex 1.0, not 1.1
Original commit message from CVS: work with speex 1.0, not 1.1
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac18
2 files changed, 13 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index fb2b6c89..8aad8c08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
+ * configure.ac: fix speex detection to work with 1.0 but not 1.1
+
+2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
+
* configure.ac:
* gst-plugins.spec.in:
* pkgconfig/Makefile.am:
diff --git a/configure.ac b/configure.ac
index 387103c2..66f77bc9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1277,17 +1277,17 @@ GST_CHECK_FEATURE(LIBPNG, [snapshot plug-in], snapshot, [
AC_SUBST(LIBPNG_LIBS)
])
-dnl *** speex ***
+dnl *** speex 1.0 only, not 1.1 ***
+dnl speex_jitter.h is 1.1 only
translit(dnm, m, l) AM_CONDITIONAL(USE_SPEEX, true)
GST_CHECK_FEATURE(SPEEX, [speex plug-in], speex, [
- PKG_CHECK_MODULES(SPEEX, speex >= 1.0 speex < 1.1, [
- HAVE_SPEEX="yes"
- AC_SUBST(SPEEX_CFLAGS)
- AC_SUBST(SPEEX_LIBS)
- ], [
- GST_CHECK_LIBHEADER(SPEEX, speex, speex_bits_init, , speex.h, HAVE_SPEEX="yes" SPEEX_LIBS="-lspeex")
- AC_SUBST(SPEEX_CFLAGS)
- AC_SUBST(SPEEX_LIBS)
+ GST_CHECK_LIBHEADER(SPEEX, speex, speex_bits_init, , speex.h, [
+ AC_CHECK_HEADER(speex_jitter.h, HAVE_SPEEX="no", [
+ HAVE_SPEEX="yes"
+ SPEEX_LIBS="-lspeex"
+ AC_SUBST(SPEEX_CFLAGS)
+ AC_SUBST(SPEEX_LIBS)
+ ])
])
])