From d76e2ed2483aff0c246a729c242c4c57b48d8996 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 7 Jun 2014 12:23:32 +0200 Subject: Set VST path --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 47d8b1e..ef867e5 100644 --- a/configure.ac +++ b/configure.ac @@ -123,17 +123,23 @@ AM_CONDITIONAL([ENABLE_LV2], [test "x$enable_lv2" = "xyes"]) dnl ====================== dnl Compile VST plugin dnl ====================== +AC_ARG_WITH(vst_sources, [ --with-vst-sources Point this to the vstsdk24 directory]) AC_ARG_ENABLE([vst], [ --enable-vst Compile the VST plugin [default=no]],, [enable_vst="no"]) if test "x$enable_vst" = "xyes"; then - enable_vst=yes + enable_vst=yes + VST_CPPFLAGS="-I$with_vst_sources" + VST_SOURCE_PATH="$with_vst_sources" + AC_SUBST(VST_SOURCE_PATH) + AC_SUBST(VST_CPPFLAGS) else AC_MSG_RESULT([*** VST plugin will not be compiled ***]) enable_vst=no fi AM_CONDITIONAL([ENABLE_VST], [test "x$enable_vst" = "xyes"]) + dnl ====================== dnl Compile AU plugin dnl ====================== -- cgit v1.2.3