config BR2_PACKAGE_BELLE_SIP
	bool "belle-sip"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on !BR2_STATIC_LIBS # dlfcn.h
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # bctoolbox
	depends on BR2_USE_WCHAR
	select BR2_PACKAGE_BCTOOLBOX
	# needs crypto support in bctoolbox
	select BR2_PACKAGE_MBEDTLS
	help
	  Belle-sip is a modern library implementing SIP (RFC 3261)
	  transport, transaction and dialog layers.

	  http://www.linphone.org/technical-corner/belle-sip

comment "belle-sip needs a toolchain w/ threads, C++, dynamic library, wchar"
	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR

comment "belle-sip needs a toolchain not affected by GCC bug 64735"
	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
