buildroot/package/snmppp/Config.in
Fabrice Fontaine b435912e54 package/snmppp: fix SNMPv3 with gcc <= 5
Fixes:
 - http://autobuild.buildroot.org/results/bfe3faefc007f2e746c9f0af9b7d0926bb72dc9e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-07-27 08:43:26 +02:00

37 lines
997 B
Plaintext

config BR2_PACKAGE_SNMPPP
bool "snmp++"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS
help
SNMP++v3.x is a C++ API which supports SNMP v1, v2c, and v3.
http://www.agentpp.com/snmp_pp3_x/snmp_pp3_x.html
if BR2_PACKAGE_SNMPPP
config BR2_PACKAGE_SNMPPP_LOGGING
bool "enable logging"
help
Enable logging output for SNMP++.
According to the SNMP++ documentation, disabling logging
"increases performance drastically and minimizes memory
consumption".
config BR2_PACKAGE_SNMPPP_SNMPV3
bool "enable SNMPv3"
default y
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
select BR2_PACKAGE_OPENSSL
help
Enable optional support for SNMP++. This selects OpenSSL.
comment "SNMPv3 needs a toolchain w/ gcc >= 4.8"
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
endif
comment "snmp++ needs a toolchain w/ threads, C++, dynamic library"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS