From e4322a716c178ffa74bd56542ea6214c4d6845bb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 6 Feb 2014 07:29:26 +0100 Subject: input/nfs: new plugin using libnfs --- configure.ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7a9b45d3b..79084efc8 100644 --- a/configure.ac +++ b/configure.ac @@ -310,6 +310,11 @@ AC_ARG_ENABLE(smbclient, [enable support for libsmbclient (default: auto)]),, [enable_smbclient=auto]) +AC_ARG_ENABLE(nfs, + AS_HELP_STRING([--enable-nfs], + [enable support for libnfs (default: auto)]),, + [enable_nfs=auto]) + AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug], [enable debugging (default: disabled)]),, @@ -859,6 +864,14 @@ if test x$enable_smbclient = xyes; then fi AM_CONDITIONAL(ENABLE_SMBCLIENT, test x$enable_smbclient = xyes) +dnl ----------------------------------- NFS ----------------------------- +MPD_AUTO_PKG(nfs, NFS, [libnfs], + [NFS input plugin], [libnfs not found]) +if test x$enable_nfs = xyes; then + AC_DEFINE(ENABLE_NFS, 1, [Define when libnfs is used]) +fi +AM_CONDITIONAL(ENABLE_NFS, test x$enable_nfs = xyes) + dnl --------------------------------- Despotify --------------------------------- MPD_AUTO_PKG(despotify, DESPOTIFY, [despotify], [Despotify support], [despotify not found]) -- cgit v1.2.3