summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in6
-rw-r--r--lv2/Makefile.am4
2 files changed, 7 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 0e08d1c..5000ac8 100644
--- a/configure.in
+++ b/configure.in
@@ -30,6 +30,10 @@ AC_ARG_ENABLE([lv2],
[with_lv2="yes"])
if test "x$with_lv2" = "xyes"; then
with_lv2=yes
+ dnl ======================
+ dnl Check for lv2core
+ dnl ======================
+ PKG_CHECK_MODULES(LV2, lv2core >= 4.1)
else
AC_MSG_RESULT([*** LV2 plugin will not be compiled ***])
with_lv2=no
@@ -164,7 +168,7 @@ PKG_CHECK_MODULES(SMF, smf >= 1.2)
dnl ======================
dnl Check for jack
dnl ======================
-PKG_CHECK_MODULES(JACK, jack >= 0.120.2)
+PKG_CHECK_MODULES(JACK, jack >= 0.120.1)
dnl ======================
dnl Check for alsa library
diff --git a/lv2/Makefile.am b/lv2/Makefile.am
index 69c2457..16cbbe4 100644
--- a/lv2/Makefile.am
+++ b/lv2/Makefile.am
@@ -38,7 +38,7 @@ lib_LTLIBRARIES = $(lv2ltlibs)
libdir = $(LV2_PLUGIN_DIR)
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/include $(SNDFILE_CXXFLAGS) \
- $(PTHREAD_CFLAGS) $(EXPAT_CFLAGS)
-liblv2_la_LDFLAGS = $(SNDFILE_LIBS) $(EXPAT_CFLAGS)
+ $(PTHREAD_CFLAGS) $(EXPAT_CFLAGS) $(LV2_CFLAGS)
+liblv2_la_LDFLAGS = $(SNDFILE_LIBS) $(EXPAT_LIBS) $(LV2_LIBS)
liblv2_la_LIBADD =
liblv2_la_SOURCES = $(lv2buildsources)