- constify some read-only members and remove superfluous casts
[oweals/busybox.git] / sysklogd / Config.in
index a671f59f13cdba1cef75077853e82cb2fab6fbe3..9875b3c124859d62772cd2ba628403b563b40223 100644 (file)
@@ -5,7 +5,7 @@
 
 menu "System Logging Utilities"
 
-config CONFIG_SYSLOGD
+config SYSLOGD
        bool "syslogd"
        default n
        help
@@ -20,18 +20,18 @@ config CONFIG_SYSLOGD
          wrong.  And something almost always will go wrong if
          you wait long enough....
 
-config CONFIG_FEATURE_ROTATE_LOGFILE
-       bool "  Rotate message files"
+config FEATURE_ROTATE_LOGFILE
+       bool "Rotate message files"
        default n
-       depends on CONFIG_SYSLOGD
+       depends on SYSLOGD
        help
          This enables syslogd to rotate the message files
          on his own. No need to use an external rotatescript.
 
-config CONFIG_FEATURE_REMOTE_LOG
-       bool "  Remote Log support"
+config FEATURE_REMOTE_LOG
+       bool "Remote Log support"
        default n
-       depends on CONFIG_SYSLOGD
+       depends on SYSLOGD
        help
          When you enable this feature, the syslogd utility can
          be used to send system log messages to another system
@@ -42,10 +42,10 @@ config CONFIG_FEATURE_REMOTE_LOG
          measure to prevent system logs from being tampered with
          by an intruder.
 
-config CONFIG_FEATURE_IPC_SYSLOG
-       bool "  Circular Buffer support"
+config FEATURE_IPC_SYSLOG
+       bool "Circular Buffer support"
        default n
-       depends on CONFIG_SYSLOGD
+       depends on SYSLOGD
        help
          When you enable this feature, the syslogd utility will
          use a circular buffer to record system log messages.
@@ -56,39 +56,40 @@ config CONFIG_FEATURE_IPC_SYSLOG
          entire filesystem, which may cause your system to
          break badly.
 
-config CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE
+config FEATURE_IPC_SYSLOG_BUFFER_SIZE
        int "    Circular buffer size in Kbytes (minimum 4KB)"
        default 16
-       depends on CONFIG_FEATURE_IPC_SYSLOG
+       depends on FEATURE_IPC_SYSLOG
        help
          This option sets the size of the circular buffer
          used to record system log messages.
 
-config CONFIG_LOGREAD
-       bool "  logread"
+config LOGREAD
+       bool "logread"
        default y
-       depends on CONFIG_FEATURE_IPC_SYSLOG
+       depends on FEATURE_IPC_SYSLOG
        help
          If you enabled Circular Buffer support, you almost
          certainly want to enable this feature as well.  This
          utility will allow you to read the messages that are
          stored in the syslogd circular buffer.
 
-config CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING
-       bool "    logread double buffering"
+config FEATURE_LOGREAD_REDUCED_LOCKING
+       bool "logread double buffering"
        default n
-       depends on CONFIG_LOGREAD
+       depends on LOGREAD
        help
-         'logread' ouput to slow serial terminals can have 
+         'logread' ouput to slow serial terminals can have
          side effects on syslog because of the semaphore.
-         This option make logread to double buffer copy 
-         from circular buffer, minimizing semaphore 
+         This option make logread to double buffer copy
+         from circular buffer, minimizing semaphore
          contention at some minor memory expense.
 
-config CONFIG_KLOGD
+config KLOGD
        bool "klogd"
        default n
-       depends on CONFIG_SYSLOGD
+       depends on SYSLOGD
+       select FEATURE_SYSLOG
        help
          klogd is a utility which intercepts and logs all
          messages from the Linux kernel and sends the messages
@@ -96,9 +97,10 @@ config CONFIG_KLOGD
          you wish to record the messages produced by the kernel,
          you should enable this option.
 
-config CONFIG_LOGGER
+config LOGGER
        bool "logger"
        default n
+       select FEATURE_SYSLOG
        help
            The logger utility allows you to send arbitrary text
            messages to the system log (i.e. the 'syslogd' utility) so