365ab10201742a59c8476d097494d40f34433958
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libnftnl / Config.in
1 comment "libnftnl needs a toolchain w/ headers >= 3.1"
2         depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
3
4 config BR2_PACKAGE_LIBNFTNL
5         bool "libnftnl"
6         depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
7         select BR2_PACKAGE_LIBMNL
8         help
9           libnftnl is a userspace library providing a low-level
10           netlink programming interface (API) to the in-kernel
11           nf_tables subsystem. The library libnftnl has been
12           previously known as libnftables. This library is
13           currently used by nftables.
14
15           http://netfilter.org/projects/libnftnl/index.html
16
17 if BR2_PACKAGE_LIBNFTNL
18
19 config BR2_PACKAGE_LIBNFTNL_JSON
20         bool "enable JSON support"
21         select BR2_PACKAGE_JANSSON
22         help
23           Enable JSON parsing support
24
25 config BR2_PACKAGE_LIBNFTNL_XML
26         bool "enable XML support"
27         depends on BR2_TOOLCHAIN_HAS_THREADS
28         select BR2_PACKAGE_MXML
29         help
30           Enable XML parsing support
31
32 comment "libnftnl XML parsing support needs a toolchain w/ threads"
33         depends on !BR2_TOOLCHAIN_HAS_THREADS
34
35 endif