config BR2_PACKAGE_BELR
	bool "belr"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS # bctoolbox
	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # bctoolbox
	select BR2_PACKAGE_BCTOOLBOX
	help
	  Belr is Belledonne Communications' language recognition
	  library, written in C++11. It parses text inputs formatted
	  according to a language defined by an ABNF grammar, such as
	  the protocols standardized at IETF.

	  https://gitlab.linphone.org/BC/public/belr

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

comment "belr needs a toolchain not affected by GCC bug 64735"
	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
