Add CONFIG_FEATURE_SYSLOG which controls whether
bb_xx_msg will ever try to send output to syslog.
Add "select CONFIG_FEATURE_SYSLOG" to relevant applets.
This allows to omit syslog code if we do not have
any syslog-capable applets in the build.
diff --git a/miscutils/Config.in b/miscutils/Config.in
index 9ad3421..dc3da6f 100644
--- a/miscutils/Config.in
+++ b/miscutils/Config.in
@@ -23,6 +23,7 @@
bool "crond"
default n
select CONFIG_FEATURE_SUID
+ select CONFIG_FEATURE_SYSLOG
help
Crond is a background daemon that parses individual crontab
files and executes commands on behalf of the users in question.
@@ -66,6 +67,7 @@
config CONFIG_DEVFSD
bool "devfsd (obsolete)"
default n
+ select CONFIG_FEATURE_SYSLOG
help
This is deprecated, and will be removed at the end of 2008.