xref: /OK3568_Linux_fs/buildroot/package/log4cxx/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config 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
22	  https://logging.apache.org/log4cxx/
23
24comment "log4cxx needs a toolchain w/ C++, threads, dynamic library"
25	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
26		BR2_STATIC_LIBS
27	depends on BR2_USE_MMU
28
29comment "log4cxx needs a toolchain w/ wchar or gcc >= 7"
30	depends on !(BR2_USE_WCHAR || BR2_TOOLCHAIN_GCC_AT_LEAST_7)
31	depends on BR2_USE_MMU
32
33comment "log4cxx needs a toolchain not affected by GCC bug 64735"
34	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7
35	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
36