[SCM] calf/master: + AutoHell: allow disabling LADSPA and LV2 plugins via configure option

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:38:36 UTC 2013


The following commit has been merged in the master branch:
commit 6ae439406e42a5e9c72c782ac3d10e9cc4beddd6
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Mon Nov 24 20:45:00 2008 +0000

    + AutoHell: allow disabling LADSPA and LV2 plugins via configure option

diff --git a/configure.ac b/configure.ac
index d7a0c56..2a03c9e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,6 +68,22 @@ else
   GUI_ENABLED="no"
 fi
 
+if test "$LADSPA_FOUND" = "yes"; then
+  AC_MSG_CHECKING([whether to allow LADSPA])
+  AC_ARG_WITH(ladspa,
+    AC_HELP_STRING([--without-ladspa],[disable LADSPA and DSSI interfaces]),
+      [if test "$withval" = "no"; then LADSPA_FOUND="no"; DSSI_FOUND="no"; fi],[])
+  AC_MSG_RESULT($LADSPA_FOUND)
+fi
+
+if test "$LV2_ENABLED" = "yes"; then
+  AC_MSG_CHECKING([whether to allow LV2])
+  AC_ARG_WITH(lv2,
+    AC_HELP_STRING([--without-lv2],[disable LV2 interface]),
+      [if test "$withval" = "no"; then LV2_ENABLED="no"; fi],[])
+  AC_MSG_RESULT($LV2_ENABLED)
+fi
+
 if test "$GUI_ENABLED" = "yes" -a "$JACK_FOUND" = "yes"; then
   JACK_ENABLED="yes"
 else
diff --git a/src/benchmark.cpp b/src/benchmark.cpp
index d09e1e9..e1d3d66 100644
--- a/src/benchmark.cpp
+++ b/src/benchmark.cpp
@@ -21,6 +21,7 @@
 #include <getopt.h>
 #include <stdint.h>
 #include <stdlib.h>
+#include <string.h>
 #include <config.h>
 #include <calf/audio_fx.h>
 //#include <calf/giface.h>

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list