summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2011-03-02 22:43:42 (GMT)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-03-02 22:44:12 (GMT)
commit1eb3f7f41fdbef005a62b3f03fdfd373f93c83ed (patch)
treea31916eca08127f9089f5eb47b6a46aee683bd91 /configure.ac
parent14fb72014982c26a0847e9faeacac4fc25b738be (diff)
downloadgst-plugins-bad-1eb3f7f41fdbef005a62b3f03fdfd373f93c83ed.tar.gz
gst-plugins-bad-1eb3f7f41fdbef005a62b3f03fdfd373f93c83ed.tar.xz
celtenc: Fix compilation with celt >= 0.11.0
Fixes bug #643607.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a2a38bc..374c7aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -639,6 +639,13 @@ AG_GST_CHECK_FEATURE(CELT, [celt], celt, [
dnl to prevent an error
true
])
+
+ PKG_CHECK_MODULES(CELT_0_11, celt >= 0.11.0, [
+ AC_DEFINE([HAVE_CELT_0_11], 1, [Define if libcelt 0.11 is installed])
+ ], [
+ dnl to prevent an error
+ true
+ ])
AC_SUBST(CELT_CFLAGS)
AC_SUBST(CELT_LIBS)
])