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