From 13d963fbf0223910cff55dae1f2bd0b653b19394 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Sun, 10 Jul 2016 20:42:42 +0200 Subject: lv2: keep working with older versions Provide a fallback impl. for the only new function we were using from 0.22. Fixes #768595 --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'configure.ac') 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) ]) -- cgit v1.2.1