[SCM] calf/master: + AutoHell: detect slv2 <= 0.6.1 in configure and warn the user

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:39:17 UTC 2013


The following commit has been merged in the master branch:
commit 3251fa3e81a064e486cf3bc5817946659b317b5d
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Tue Feb 3 00:07:58 2009 +0000

    + AutoHell: detect slv2 <= 0.6.1 in configure and warn the user

diff --git a/configure.ac b/configure.ac
index 78b5416..a7ad7e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,6 +58,7 @@ AC_SUBST(JACK_DEPS_LIBS)
 
 PKG_CHECK_MODULES(LV2_DEPS, lv2core >= 1, LV2_ENABLED="yes", LV2_ENABLED="no")
 PKG_CHECK_MODULES(LASH_DEPS, lash-1.0 >= 0.5.2, LASH_ENABLED="yes", LASH_ENABLED="no")
+PKG_CHECK_MODULES(SLV2_HACK, slv2 <= 0.6.1, SLV2_UNSUPPORTED="yes", SLV2_UNSUPPORTED="no")
 
 if test "$JACK_FOUND" = "yes" -o "$DSSI_FOUND" = "yes" -o "$LV2_ENABLED" = "yes"; then
   PKG_CHECK_MODULES(GUI_DEPS, gtk+-2.0 >= 2.8.0 libglade-2.0 >= 2.4.0 cairo >= 1.2.0,
@@ -233,4 +234,17 @@ AC_MSG_RESULT([
     
     Installation prefix:    $prefix
 ])
+
+if test "$SLV2_UNSUPPORTED" == "yes" -a "$LV2_ENABLED" == "yes"; then 
+    AC_MSG_RESULT([
+WARNING:
+An incompatible version of slv2 library has been found on this system.
+
+Some features of Calf LV2 plugins (and other LV2 plugins) may not work
+as expected in hosts that use currently installed version of libslv2.
+
+Please upgrade to slv2 0.6.2 or newer version.
+])
+fi
+
 AC_OUTPUT

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list