kumquat-buildroot/package/zmqpp/Config.in
Thomas Petazzoni 634b714d97 zmqpp: update to use the gcc version dependency mechanism
This commit updates the zmqpp Config.in file to use the newly
introduced gcc version dependency mechanism to depend on gcc >= 4.6
instead of open-coding dependencies on specific toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2015-08-05 12:11:20 +02:00

38 lines
1.1 KiB
Plaintext

config BR2_PACKAGE_ZMQPP
bool "zmqpp"
# c++0x support
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
depends on BR2_INSTALL_LIBSTDCPP
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++, wchar, threads, gcc >= 4.6"
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && \
BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_GCC_AT_LEAST_4_6)
if BR2_PACKAGE_ZMQPP
config BR2_PACKAGE_ZMQPP_CLIENT
bool "zmqpp client"
depends on BR2_TOOLCHAIN_HAS_THREADS # boost
depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
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_PACKAGE_BOOST_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS
endif