config BR2_PACKAGE_LIBCGROUP
	bool "libcgroup"
	depends on BR2_INSTALL_LIBSTDCPP
	# libcgroup uses <fts.h> which is not included by default in uClibc
	depends on BR2_TOOLCHAIN_USES_GLIBC
	help
	  libcgroup is a library that abstracts the control
	  group file system in Linux.

	  http://libcg.sourceforge.net/

if BR2_PACKAGE_LIBCGROUP

config BR2_PACKAGE_LIBCGROUP_TOOLS
	bool "install tools"
	help
	  Include a set of command-line tools for managing cgroups.

endif

comment "libcgroup needs an (e)glibc toolchain w/ C++"
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC
