diff options
author | Max Kellermann <max@duempel.org> | 2011-09-05 22:53:46 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-08 01:20:45 +0200 |
commit | 63a2ac21e1d8190448057fbf24d5ab948d3daff8 (patch) | |
tree | d7e8620ebdb73a10228dd4ae1091821c77c02a2c /configure.ac | |
parent | c42b20629265a953ecced484a29d7208bcff367b (diff) | |
download | mpd-63a2ac21e1d8190448057fbf24d5ab948d3daff8.tar.gz mpd-63a2ac21e1d8190448057fbf24d5ab948d3daff8.tar.xz mpd-63a2ac21e1d8190448057fbf24d5ab948d3daff8.zip |
ProxyDatabasePlugin: new database plugin using libmpdclient
Implementation incomplete, but sort-of-works. DumpDatabase works, but
MPD is still hard-coded on the "simple" plugin.
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3c3add129..358b674af 100644 --- a/configure.ac +++ b/configure.ac @@ -144,6 +144,12 @@ AC_CHECK_HEADERS(valgrind/memcheck.h) dnl --------------------------------------------------------------------------- dnl Allow tools to be specifically built dnl --------------------------------------------------------------------------- + +AC_ARG_ENABLE(mpdclient, + AS_HELP_STRING([--enable-libmpdclient], + [enable support for the MPD client]),, + enable_libmpdclient=auto) + AC_ARG_ENABLE(alsa, AS_HELP_STRING([--enable-alsa], [enable ALSA support]),, [enable_alsa=auto]) @@ -534,6 +540,15 @@ dnl --------------------------------------------------------------------------- dnl Miscellaneous Libraries dnl --------------------------------------------------------------------------- +dnl -------------------------------- libmpdclient -------------------------------- +MPD_AUTO_PKG(libmpdclient, LIBMPDCLIENT, [libmpdclient >= 2.2], + [MPD client library], [libmpdclient not found]) +if test x$enable_libmpdclient = xyes; then + AC_DEFINE(HAVE_LIBMPDCLIENT, 1, [Define to use libmpdclient]) +fi + +AM_CONDITIONAL(HAVE_LIBMPDCLIENT, test x$enable_libmpdclient = xyes) + dnl --------------------------------- inotify --------------------------------- AC_CHECK_FUNCS(inotify_init inotify_init1) |