diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-05-17 19:30:08 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-05-17 19:30:08 +0200 |
commit | e0372cfee7cb9cc4fe95d605854a02b4feed28c2 (patch) | |
tree | c7db1f4b8c6b240c1b8ecb9a9a692919656ac473 /configure.in | |
parent | 919586f8d86ceed1f979967a453f4812fc10d80b (diff) |
Fix deprecated INCLUDES variable in Makefile.am's. Add skeleton code for jackaudio output module.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 32c1c1c..81025b2 100644 --- a/configure.in +++ b/configure.in @@ -172,6 +172,21 @@ if test "x$enable_cli" = "xyes"; then have_output_dummy=no fi + dnl *** Jackaudio + AC_ARG_ENABLE([output_jackaudio], + [ --disable-output-jackaudio Disable output jack plugin [default=enabled]],, + [enable_output_jackaudio="yes"]) + if test "x$enable_output_jackaudio" = "xyes"; then + have_output_jackaudio=yes + dnl ====================== + dnl Check for jack + dnl ====================== + PKG_CHECK_MODULES(JACK, jack >= 0.120.1) + else + AC_MSG_RESULT([*** output jack plugin disabled per user request ***]) + have_output_jackaudio=no + fi + dnl *** alsa AC_ARG_ENABLE([output_alsa], [ --disable-output-alsa Disable output alsa plugin [default=enabled]],, @@ -198,7 +213,7 @@ if test "x$enable_cli" = "xyes"; then have_output_wavfile=no fi - OUTPUT_PLUGINS="dummy alsa wavfile" + OUTPUT_PLUGINS="dummy alsa wavfile jackaudio" AC_SUBST(OUTPUT_PLUGINS) dnl @@ -228,6 +243,7 @@ AM_CONDITIONAL([HAVE_INPUT_MIDIFILE], [test "x$have_input_midifile" = "xyes"]) AM_CONDITIONAL([HAVE_OUTPUT_DUMMY], [test "x$have_output_dummy" = "xyes"]) AM_CONDITIONAL([HAVE_OUTPUT_ALSA], [test "x$have_output_alsa" = "xyes"]) AM_CONDITIONAL([HAVE_OUTPUT_WAVFILE], [test "x$have_output_wavfile" = "xyes"]) +AM_CONDITIONAL([HAVE_OUTPUT_JACKAUDIO], [test "x$have_output_jackaudio" = "xyes"]) AC_ARG_ENABLE([editor], @@ -346,6 +362,7 @@ AC_OUTPUT( drumgizmo/output/Makefile drumgizmo/output/dummy/Makefile drumgizmo/output/alsa/Makefile + drumgizmo/output/jackaudio/Makefile drumgizmo/output/wavfile/Makefile dgedit/Makefile) |