config BR2_PACKAGE_SAMBA4
	bool "samba4"
	depends on !BR2_PACKAGE_SAMBA
	depends on BR2_INET_IPV6
	depends on BR2_USE_MMU # fork()
	depends on BR2_USE_WCHAR # e2fsprogs
	depends on BR2_LARGEFILE
	depends on BR2_TOOLCHAIN_HAS_THREADS # talloc python threads
	select BR2_PACKAGE_E2FSPROGS
	select BR2_PACKAGE_POPT
	select BR2_PACKAGE_PYTHON
	select BR2_PACKAGE_ZLIB
	help
	  Provides secure, stable and fast file and print services
	  for all clients using the SMB/CIFS protocol, such as all
	  versions of DOS, Windows, OS/2, Linux and many others.

	  http://www.samba.org/

comment "samba4 needs a toolchain w/ IPv6, wchar, largfile, threads"
	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE || \
		!BR2_USE_WCHAR || !BR2_INET_IPV6
