config BR2_PACKAGE_DUMA
	bool "duma"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS
	help
	  D.U.M.A. - Detect Unintended Memory Access. A fork of the
	  Electric Fence library. Detects buffer overflow and
	  underflow, and also memory leaks.

	  http://duma.sourceforge.net

if BR2_PACKAGE_DUMA

config BR2_PACKAGE_DUMA_NO_LEAKDETECTION
	bool "disable memory leak detection"

endif # BR2_PACKAGE_DUMA

comment "duma needs a toolchain w/ C++, threads"
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
