Config.in 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. config 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. https://www.agentpp.com/api/cpp/snmp_pp.html
  9. if BR2_PACKAGE_SNMPPP
  10. config BR2_PACKAGE_SNMPPP_LOGGING
  11. bool "enable logging"
  12. help
  13. Enable logging output for SNMP++.
  14. According to the SNMP++ documentation, disabling logging
  15. "increases performance drastically and minimizes memory
  16. consumption".
  17. config BR2_PACKAGE_SNMPPP_SNMPV3
  18. bool "enable SNMPv3"
  19. default y
  20. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
  21. select BR2_PACKAGE_OPENSSL
  22. select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
  23. help
  24. Enable optional support for SNMP++. This selects OpenSSL.
  25. comment "SNMPv3 needs a toolchain w/ gcc >= 4.8"
  26. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  27. endif
  28. comment "snmp++ needs a toolchain w/ threads, C++, dynamic library"
  29. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
  30. BR2_STATIC_LIBS