comment "nfs-utils needs a toolchain w/ threads"
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_HAS_THREADS

config BR2_PACKAGE_NFS_UTILS
	bool "nfs-utils"
	depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc, rpcbind
	depends on BR2_USE_MMU # fork()
	select BR2_PACKAGE_LIBTIRPC # IPv6 requires libtirpc
	select BR2_PACKAGE_UTIL_LINUX
	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
	help
	  The NFS Linux kernel server.

	  http://linux-nfs.org/

if BR2_PACKAGE_NFS_UTILS

config BR2_PACKAGE_NFS_UTILS_NFSV4
	bool "NFSv4/NFSv4.1"
	depends on !BR2_STATIC_LIBS # keyutils, lvm2
	select BR2_PACKAGE_KEYUTILS
	select BR2_PACKAGE_LIBEVENT
	select BR2_PACKAGE_LVM2
	select BR2_PACKAGE_SQLITE
	help
	  Enable NFSv4/NFSv4.1 support

config BR2_PACKAGE_NFS_UTILS_RPCDEBUG
	bool "rpcdebug"
	help
	  The RPC debugging utility

config BR2_PACKAGE_NFS_UTILS_RPC_LOCKD
	bool "rpc.lockd"
	help
	  NFS lock manager for Linux kernels older than 2.4

config BR2_PACKAGE_NFS_UTILS_RPC_NFSD
	bool "rpc.nfsd"
	default y
	select BR2_PACKAGE_RPCBIND # runtime
	help
	  NFS server

config BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD
	bool "rpc.rquotad"
	help
	  NFS remote quota server

endif