1config BR2_PACKAGE_RSYSLOG
2	bool "rsyslog"
3	depends on BR2_TOOLCHAIN_HAS_THREADS
4	depends on BR2_USE_MMU # fork()
5	depends on !BR2_STATIC_LIBS # modules
6	depends on !BR2_TOOLCHAIN_USES_MUSL # GLOB_BRACE
7	# Propagate the exact same dependency from libfastjson,
8	# even though rsyslog already depends on threads for itself:
9	depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS
10	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
11	select BR2_PACKAGE_APR_UTIL if BR2_PACKAGE_CIVETWEB_LIB
12	select BR2_PACKAGE_ZLIB
13	select BR2_PACKAGE_LIBESTR
14	select BR2_PACKAGE_LIBLOGGING
15	select BR2_PACKAGE_LIBFASTJSON
16	help
17	  Rsyslog is a powerful and flexible syslog implementation
18
19	  http://www.rsyslog.com
20
21comment "rsyslog needs a uClibc or glibc toolchain w/ threads, dynamic library"
22	depends on BR2_USE_MMU
23	depends on BR2_TOOLCHAIN_HAS_SYNC_4
24	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
25		|| BR2_TOOLCHAIN_USES_MUSL
26	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
27