config BR2_PACKAGE_OPENTRACING_CPP
	bool "opentracing-cpp"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on !BR2_STATIC_LIBS
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
	help
	  OpenTracing API for C++

	  http://opentracing.io

comment "opentracing-cpp needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.8"
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8

comment "opentracing-cpp needs exception_ptr"
	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
