diff options
-rw-r--r-- | configure.ac | 8 | ||||
-rw-r--r-- | drumgizmo/Makefile.am | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index 9ee8234..070677c 100644 --- a/configure.ac +++ b/configure.ac @@ -300,16 +300,10 @@ AS_IF( dnl dgplugindir=${libdir}/drumgizmo AC_SUBST([dgplugindir]) - INPUT_PLUGIN_DIR=${dgplugindir}/input OUTPUT_PLUGIN_DIR=${dgplugindir}/output AC_SUBST([INPUT_PLUGIN_DIR]) - AC_SUBST([OUTPUT_PLUGIN_DIR]) - - AC_DEFINE_UNQUOTED(INPUT_PLUGIN_DIR, "${libdir}/drumgizmo/input", - [Input plugin dir]) - AC_DEFINE_UNQUOTED(OUTPUT_PLUGIN_DIR, "${libdir}/drumgizmo/output", - [Output plugin dir])], + AC_SUBST([OUTPUT_PLUGIN_DIR])], [AC_MSG_RESULT([*** Command line interface disabled per user request ***]) enable_cli=no] diff --git a/drumgizmo/Makefile.am b/drumgizmo/Makefile.am index aaef1ee..b01b41f 100644 --- a/drumgizmo/Makefile.am +++ b/drumgizmo/Makefile.am @@ -12,7 +12,9 @@ drumgizmo_LDADD = $(DRUMGIZMO_LIBS) $(PTHREAD_LIBS) -ldl $(JACK_LIBS) drumgizmo_CXXFLAGS = $(SNDFILE_CXXFLAGS) $(PTHREAD_CFLAGS) $(EXPAT_CFLAGS) \ -I$(top_srcdir)/include -I$(top_srcdir)/src \ - -I$(top_srcdir)/hugin -DWITH_HUG_MUTEX $(JACK_CFLAGS) $(SSEFLAGS) + -I$(top_srcdir)/hugin -DWITH_HUG_MUTEX $(JACK_CFLAGS) $(SSEFLAGS) \ + -DINPUT_PLUGIN_DIR=\"${INPUT_PLUGIN_DIR}\" \ + -DOUTPUT_PLUGIN_DIR=\"${OUTPUT_PLUGIN_DIR}\" drumgizmo_SOURCES = \ audioinputenginedl.cc \ |