diff options
author | François Revol <revol@free.fr> | 2015-09-17 22:18:16 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-09-17 22:46:46 +0200 |
commit | 7743647460575fd9ea4d5e29e5a23e3faf56c58c (patch) | |
tree | 345a617582882dbe72170e4f09248fcb0867b940 /configure.ac | |
parent | 352ec364f02aaf40fee571a1f7258cb3be0c17f3 (diff) | |
download | mpd-7743647460575fd9ea4d5e29e5a23e3faf56c58c.tar.gz mpd-7743647460575fd9ea4d5e29e5a23e3faf56c58c.tar.xz mpd-7743647460575fd9ea4d5e29e5a23e3faf56c58c.zip |
output: add native Haiku audio output and mixer support
Also uses the notification system to display tags.
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ba7881495..5c064638b 100644 --- a/configure.ac +++ b/configure.ac @@ -333,6 +333,11 @@ AC_ARG_ENABLE(fifo, [disable support for writing audio to a FIFO (default: enable)]),, enable_fifo=yes) +AC_ARG_ENABLE(haiku, + AS_HELP_STRING([--enable-haiku], + [enable the Haiku output plugin (default: auto)]),, + enable_haiku=auto) + AC_ARG_ENABLE(httpd-output, AS_HELP_STRING([--enable-httpd-output], [enables the HTTP server output]),, @@ -1129,6 +1134,19 @@ fi MPD_DEFINE_CONDITIONAL(enable_fifo, HAVE_FIFO, [support for writing audio to a FIFO]) +dnl ----------------------------------- Haiku --------------------------------- +if test x$enable_haiku = xauto; then + AC_CHECK_HEADER(media/MediaDefs.h, + [enable_haiku=yes], + [enable_haiku=no]) +fi +if test x$enable_haiku = xyes; then + AC_DEFINE(HAVE_HAIKU,1,[Define for compiling Haiku support]) + LIBS="$LIBS -lbe -lmedia" +fi + +AM_CONDITIONAL(HAVE_HAIKU, test x$enable_haiku = xyes) + dnl ------------------------------- HTTPD Output ------------------------------ if test x$enable_httpd_output = xauto; then # handle HTTPD auto-detection: disable if no encoder is @@ -1422,6 +1440,7 @@ printf '\nPlayback support:\n\t' results(alsa,ALSA) results(fifo,FIFO) results(recorder_output,[File Recorder]) +results(haiku,[Haiku]) results(httpd_output,[HTTP Daemon]) results(jack,[JACK]) printf '\n\t' |