config BR2_PACKAGE_LIBASIO
	bool "libasio"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_MMU # fork()
	depends on BR2_USE_WCHAR
	depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
	help
	  Asio is a cross-platform C++ library for network and low-level
	  I/O programming that provides developers with a consistent
	  asynchronous model using a modern C++ approach.

	  This is a standalone library that does not require Boost.

	  https://github.com/chriskohlhoff/asio

comment "libasio needs a toolchain w/ C++, dynamic library, wchar"
	depends on BR2_USE_MMU
	depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR

comment "libasio needs exception_ptr"
	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
