xref: /OK3568_Linux_fs/buildroot/package/snmppp/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_SNMPPP
2	bool "snmp++"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on BR2_TOOLCHAIN_HAS_THREADS
5	depends on !BR2_STATIC_LIBS
6	help
7	  SNMP++v3.x is a C++ API which supports SNMP v1, v2c, and v3.
8
9	  http://www.agentpp.com/snmp_pp3_x/snmp_pp3_x.html
10
11if BR2_PACKAGE_SNMPPP
12
13config BR2_PACKAGE_SNMPPP_LOGGING
14	bool "enable logging"
15	help
16	  Enable logging output for SNMP++.
17	  According to the SNMP++ documentation, disabling logging
18	  "increases performance drastically and minimizes memory
19	  consumption".
20
21config BR2_PACKAGE_SNMPPP_SNMPV3
22	bool "enable SNMPv3"
23	default y
24	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
25	select BR2_PACKAGE_OPENSSL
26	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
27	help
28	  Enable optional support for SNMP++. This selects OpenSSL.
29
30comment "SNMPv3 needs a toolchain w/ gcc >= 4.8"
31	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
32
33endif
34
35comment "snmp++ needs a toolchain w/ threads, C++, dynamic library"
36	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
37		BR2_STATIC_LIBS
38