diff options
author | Max Kellermann <max@musicpd.org> | 2018-01-13 18:03:26 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-01-15 21:50:20 +0100 |
commit | 9420066895a50f2354323e9746838037eac94e40 (patch) | |
tree | 6a6f50dd3c7d55837c8c274ace5bb11d3bdf7568 /configure.ac | |
parent | 74eac1d449ac2ac25b88e307c0a513e44cc29d96 (diff) |
input/qobuz: new input plugin to receive Qobuz streams
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 6216a4f90..325eaa77e 100644 --- a/configure.ac +++ b/configure.ac @@ -362,6 +362,11 @@ AC_ARG_ENABLE(ipv6, AC_SYS_LARGEFILE +AC_ARG_ENABLE(qobuz, + AS_HELP_STRING([--enable-qobuz], + [enable support for Qobuz streaming]),, + [enable_qobuz=auto]) + AC_ARG_ENABLE(soundcloud, AS_HELP_STRING([--enable-soundcloud], [enable support for soundcloud.com]),, @@ -565,9 +570,15 @@ dnl -------------------------------- expat -------------------------------- MPD_ENABLE_AUTO_PKG(expat, EXPAT, [expat], [expat XML parser], [expat not found]) +dnl -------------------------------- libgcrypt -------------------------------- + +if test x$enable_qobuz != xno; then + AM_PATH_LIBGCRYPT([1], [found_gcrypt=yes], [found_gcrypt=no]) +fi + dnl -------------------------------- yajl ------------------------------------- -if test x$enable_soundcloud != xno || test x$enable_tidal != xno; then +if test x$enable_qobuz != xno || x$enable_soundcloud != xno || test x$enable_tidal != xno; then PKG_CHECK_MODULES([YAJL], [yajl >= 2.0], [found_yajl=yes], [found_yajl=no]) @@ -718,6 +729,13 @@ dnl ----------------------------------- NFS ----------------------------- MPD_ENABLE_AUTO_PKG(nfs, NFS, [libnfs], [NFS input plugin], [libnfs not found]) +dnl --------------------------------- Qobuz ----------------------------------- +MPD_DEPENDS([enable_qobuz], [found_yajl], [Qobuz streaming], [libyajl not found]) +MPD_DEPENDS([enable_qobuz], [found_gcrypt], [Qobuz streaming], [libgcrypt not found]) +MPD_DEPENDS([enable_qobuz], [enable_curl], [Qobuz streaming], [libcurl not found]) +MPD_AUTO(qobuz, [Qobuz streaming], [Qobuz not available], [found_qobuz=yes]) +MPD_DEFINE_CONDITIONAL(enable_qobuz, ENABLE_QOBUZ, [Qobuz streaming]) + dnl --------------------------------- Soundcloud ------------------------------ MPD_DEPENDS([enable_soundcloud], [found_yajl], [soundcloud.com support], [libyajl not found]) @@ -1525,6 +1543,7 @@ fi printf '\nStreaming support:\n\t' results(cdio_paranoia, [CDIO_PARANOIA]) results(curl,[CURL]) +results(qobuz,[Qobuz]) results(smbclient,[SMBCLIENT]) results(soundcloud,[Soundcloud]) results(tidal,[Tidal]) |