Config.in 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. config BR2_PACKAGE_LOG4CXX
  2. bool "log4cxx"
  3. # apr really needs shared library support
  4. depends on !BR2_STATIC_LIBS
  5. depends on BR2_INSTALL_LIBSTDCPP
  6. depends on BR2_TOOLCHAIN_HAS_THREADS
  7. depends on BR2_USE_MMU # apr
  8. depends on BR2_USE_WCHAR || BR2_TOOLCHAIN_GCC_AT_LEAST_7 # boost
  9. depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS || BR2_TOOLCHAIN_GCC_AT_LEAST_7 # boost-thread
  10. depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 || BR2_TOOLCHAIN_GCC_AT_LEAST_7 # boost-thread
  11. select BR2_PACKAGE_APR
  12. select BR2_PACKAGE_APR_UTIL
  13. select BR2_PACKAGE_BOOST if !BR2_TOOLCHAIN_GCC_AT_LEAST_7
  14. select BR2_PACKAGE_BOOST_ATOMIC if !BR2_TOOLCHAIN_GCC_AT_LEAST_7
  15. select BR2_PACKAGE_BOOST_CHRONO if !BR2_TOOLCHAIN_GCC_AT_LEAST_7
  16. select BR2_PACKAGE_BOOST_DATE_TIME if !BR2_TOOLCHAIN_GCC_AT_LEAST_7
  17. select BR2_PACKAGE_BOOST_THREAD if !BR2_TOOLCHAIN_GCC_AT_LEAST_7
  18. help
  19. Apache log4cxx is a logging framework for C++ patterned
  20. after Apache log4j.
  21. https://logging.apache.org/log4cxx/
  22. comment "log4cxx needs a toolchain w/ C++, threads, dynamic library"
  23. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
  24. BR2_STATIC_LIBS
  25. depends on BR2_USE_MMU
  26. comment "log4cxx needs a toolchain w/ wchar or gcc >= 7"
  27. depends on !(BR2_USE_WCHAR || BR2_TOOLCHAIN_GCC_AT_LEAST_7)
  28. depends on BR2_USE_MMU
  29. comment "log4cxx needs a toolchain not affected by GCC bug 64735"
  30. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7
  31. depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735