config BR2_PACKAGE_ZMQPP
	bool "zmqpp"
	depends on !BR2_avr32 # compiler needs c++0x support
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_INET_IPV6 # zeromq
	depends on BR2_LARGEFILE # util-linux
	depends on BR2_USE_WCHAR # util-linux
	depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
	select BR2_PACKAGE_ZEROMQ
	help
	  C++ binding for zeromq (ZeroMQ, 0MQ, zmq).

	  This C++ binding is a 'high-level' library that hides most of the
	  C-style interface core zeromq provides.

	  http://github.com/benjamg/zmqpp

comment "zmqpp needs a toolchain w/ C++, IPv6, largefile, wchar, threads"
	depends on !BR2_avr32
	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \
		&& BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)

if BR2_PACKAGE_ZMQPP

config BR2_PACKAGE_ZMQPP_CLIENT
	bool "zmqpp client"
	depends on BR2_TOOLCHAIN_HAS_THREADS # boost
	select BR2_PACKAGE_BOOST
	select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
	help
	  Build and install the zmqpp client, a command line tool that can be
	  used to listen or send to zeromq sockets.

comment "zmqpp client needs a toolchain w/ threads"
	depends on !BR2_TOOLCHAIN_HAS_THREADS

endif
