summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2016-07-10 20:42:42 +0200
committerStefan Sauer <ensonic@users.sf.net>2016-07-10 20:44:19 +0200
commit13d963fbf0223910cff55dae1f2bd0b653b19394 (patch)
tree8630858f1d03fa1041aca32c86adb738c372b6a7 /configure.ac
parentdae928f14c5ca4a344c3a1b793383fb70720936f (diff)
downloadgstreamer-plugins-bad-13d963fbf0223910cff55dae1f2bd0b653b19394.tar.gz
lv2: keep working with older versions
Provide a fallback impl. for the only new function we were using from 0.22. Fixes #768595
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 502fb2e36..573d3bdfb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2361,7 +2361,13 @@ AG_GST_CHECK_FEATURE(LADSPA, [ladspa], ladspa, [
dnl *** LV2 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LV2, true)
AG_GST_CHECK_FEATURE(LV2, [lv2], lv2, [
- PKG_CHECK_MODULES(LILV, lilv-0 >= 0.6.6, HAVE_LV2="yes", HAVE_LV2="no")
+ PKG_CHECK_MODULES(LILV, lilv-0 >= 0.22, [
+ HAVE_LV2="yes",
+ HAVE_LILV_0_22="yes"
+ AC_DEFINE(HAVE_LILV_0_22, 1, [Define if we have liblilv >= 0.22])
+ ],[
+ PKG_CHECK_MODULES(LILV, lilv-0 >= 0.16, HAVE_LV2="yes", HAVE_LV2="no")
+ ])
AC_SUBST(LILV_CFLAGS)
AC_SUBST(LILV_LIBS)
])