1comment "zeromq needs a toolchain w/ C++, threads"
2	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)
3
4config BR2_PACKAGE_ZEROMQ
5	bool "zeromq"
6	depends on BR2_INSTALL_LIBSTDCPP
7	depends on BR2_TOOLCHAIN_HAS_THREADS
8	help
9	  ØMQ (ZeroMQ, 0MQ, zmq) looks like an embeddable networking
10	  library but acts like a concurrency framework. It gives you
11	  sockets that carry whole messages across various transports
12	  like in-process, inter- process, TCP, and multicast. You can
13	  connect sockets N-to-N with patterns like fanout, pub-sub,
14	  task distribution, and request-reply. It's fast enough to
15	  be the fabric for clustered products. Its asynchronous I/O
16	  model gives you scalable multicore applications, built as
17	  asynchronous message-processing tasks. It has a score of
18	  language APIs and runs on most operating systems.
19
20	  ØMQ is from iMatix and is LGPL open source.
21
22	  http://www.zeromq.org/
23
24if BR2_PACKAGE_ZEROMQ
25
26comment "norm support needs a toolchain w/ dynamic library"
27	depends on BR2_STATIC_LIBS
28
29config BR2_PACKAGE_ZEROMQ_NORM
30	bool "NORM support"
31	depends on !BR2_STATIC_LIBS
32	select BR2_PACKAGE_NORM
33	help
34	  Add support for NACK-Oriented Reliable Multicast (RFC 5740)
35	  protocol.
36
37comment "PGM/EPGM support needs a toolchain w/ wchar"
38	depends on BR2_TOOLCHAIN_HAS_SYNC_2
39	depends on BR2_TOOLCHAIN_HAS_SYNC_4
40	depends on !BR2_USE_WCHAR
41
42config BR2_PACKAGE_ZEROMQ_PGM
43	bool "PGM/EPGM support"
44	depends on BR2_TOOLCHAIN_HAS_SYNC_2
45	depends on BR2_TOOLCHAIN_HAS_SYNC_4
46	depends on BR2_USE_WCHAR # openpgm
47	select BR2_PACKAGE_OPENPGM
48	help
49	  Add support for Pragmatic General Multicast protocol (RFC
50	  3208) implemented either over raw IP packets or UDP
51	  datagrams (encapsulated PGM).
52
53config BR2_PACKAGE_ZEROMQ_DRAFTS
54	bool "Draft APIs support"
55	help
56	  Enable unstable draft ZeroMQ APIs
57
58	  https://pyzmq.readthedocs.io/en/latest/draft.html
59
60config BR2_PACKAGE_ZEROMQ_WEBSOCKET
61	bool "WebSocket support"
62	help
63	  Enable WebSocket transport
64
65endif
66