From f2665fb18a10598dd2756b3c6fa4b3e5dcec1ccd Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 18 Jan 2017 18:29:40 +0100 Subject: Add --with-lv2dir to configure and make sure we install the plugin at that location and run the unittest against it. --- configure.ac | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 38e3080..ce2a46f 100644 --- a/configure.ac +++ b/configure.ac @@ -212,10 +212,17 @@ AC_ARG_ENABLE([lv2], AS_IF( [test "x$enable_lv2" = "xyes"], [enable_lv2=yes - dnl ====================== - dnl Check for lv2core - dnl ====================== - PKG_CHECK_MODULES(LV2, lv2 >= 1.0)], + dnl ====================== + dnl Check for lv2core + dnl ====================== + PKG_CHECK_MODULES(LV2, lv2 >= 1.0) + AC_ARG_WITH([lv2dir], + AS_HELP_STRING([--with-lv2dir=DIR], + [Use DIR as the lv2 plugin directory [default=LIBDIR/lv2]]), + [LV2DIR=$with_lv2dir], + [LV2DIR='$(libdir)/lv2']) + AC_SUBST(LV2DIR) + ], [AC_MSG_RESULT([*** LV2 plugin will not be compiled ***]) enable_lv2=no] -- cgit v1.2.3