open-plc-utils: new package
[buildroot-gz.git] / package / libnftnl / Config.in
blob0d3db5be25e6672f70df34bfc1d87599c1c426be
1 config BR2_PACKAGE_LIBNFTNL
2         bool "libnftnl"
3         depends on BR2_INET_IPV6
4         # bad headers, no sa_family_t in linux/socket.h
5         depends on !(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 || BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009)
6         select BR2_PACKAGE_LIBMNL
7         help
8           libnftnl is a userspace library providing a low-level
9           netlink programming interface (API) to the in-kernel
10           nf_tables subsystem. The library libnftnl has been
11           previously known as libnftables. This library is
12           currently used by nftables.
14           http://netfilter.org/projects/libnftnl/index.html
16 if BR2_PACKAGE_LIBNFTNL
18 config BR2_PACKAGE_LIBNFTNL_JSON
19         bool "enable JSON support"
20         select BR2_PACKAGE_JANSSON
21         help
22           Enable JSON parsing support
24 config BR2_PACKAGE_LIBNFTNL_XML
25         bool "enable XML support"
26         depends on BR2_TOOLCHAIN_HAS_THREADS
27         select BR2_PACKAGE_MXML
28         help
29           Enable XML parsing support
31 comment "libnftnl XML parsing support needs a toolchain w/ threads"
32         depends on !BR2_TOOLCHAIN_HAS_THREADS
34 endif
36 comment "libnftnl needs a toolchain w/ IPv6"
37         depends on !BR2_INET_IPV6