find: improve usage text (Natanael Copa <natanael.copa@gmail.com>)
[oweals/busybox.git] / Config.in
index 5e70a523a98e7229c2f6dd809b1b6b3e34b84b74..fea408148eb4fc9ad18466bbbdd8ff00dc1b9065 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -141,6 +141,13 @@ config FEATURE_CLEAN_UP
          Don't enable this unless you have a really good reason to clean
          things up manually.
 
          Don't enable this unless you have a really good reason to clean
          things up manually.
 
+config FEATURE_PIDFILE
+       bool "Support writing pidfiles"
+       default n
+       help
+         This option makes some applets (crond, syslogd and inetd) write
+         a pidfile in /var/run. Some applications rely on them
+
 config FEATURE_SUID
        bool "Support for SUID/SGID handling"
        default n
 config FEATURE_SUID
        bool "Support for SUID/SGID handling"
        default n
@@ -203,6 +210,14 @@ config FEATURE_SUID_CONFIG_QUIET
          /etc/busybox.conf should be readable by the user needing the SUID, check
          this option to avoid users to be notified about missing permissions.
 
          /etc/busybox.conf should be readable by the user needing the SUID, check
          this option to avoid users to be notified about missing permissions.
 
+config FEATURE_HAVE_RPC
+       bool "RPC support"
+       default y
+       help
+         Select this if you have rpc support.
+         This automatically turns off all configuration options that rely
+         on RPC.
+
 config SELINUX
        bool "Support NSA Security Enhanced Linux"
        default n
 config SELINUX
        bool "Support NSA Security Enhanced Linux"
        default n
@@ -223,6 +238,14 @@ config SELINUX
 
          Most people will leave this set to 'N'.
 
 
          Most people will leave this set to 'N'.
 
+config FEATURE_EXEC_PREFER_APPLETS
+       bool "exec prefers applets"
+       default n
+       help
+         This is an experimental option which directs applets about to
+         call 'exec' to try and find an applicable busybox applet before
+         searching the executable path for a binary or symlink to execute.
+
 config BUSYBOX_EXEC_PATH
        string "Path to BusyBox executable"
        default "/proc/self/exe"
 config BUSYBOX_EXEC_PATH
        string "Path to BusyBox executable"
        default "/proc/self/exe"
@@ -336,21 +359,29 @@ config DEBUG
 
          Most people should answer N.
 
 
          Most people should answer N.
 
-config DEBUG_PESSIMIZE
-       bool "Disable compiler optimizations."
+config WERROR
+       bool "Abort compilation on any warning"
        default n
        default n
-       depends on DEBUG
        help
        help
-         The compiler's optimization of source code can eliminate and reorder
-         code, resulting in an executable that's hard to understand when
-         stepping through it with a debugger.  This switches it off, resulting
-         in a much bigger executable that more closely matches the source
-         code.
+         Selecting this will add -Werror to gcc command line.
+
+         Most people should answer N.
+
+# Seems to be unused
+#config DEBUG_PESSIMIZE
+#      bool "Disable compiler optimizations."
+#      default n
+#      depends on DEBUG
+#      help
+#        The compiler's optimization of source code can eliminate and reorder
+#        code, resulting in an executable that's hard to understand when
+#        stepping through it with a debugger.  This switches it off, resulting
+#        in a much bigger executable that more closely matches the source
+#        code.
 
 choice
        prompt "Additional debugging library"
        default NO_DEBUG_LIB
 
 choice
        prompt "Additional debugging library"
        default NO_DEBUG_LIB
-       depends on DEBUG
        help
          Using an additional debugging library will make BusyBox become
          considerable larger and will cause it to run more slowly.  You
        help
          Using an additional debugging library will make BusyBox become
          considerable larger and will cause it to run more slowly.  You
@@ -389,14 +420,14 @@ config EFENCE
 
 endchoice
 
 
 endchoice
 
-config DEBUG_YANK_SUSv2
-       bool "Disable obsolete features removed before SUSv3?"
+config INCLUDE_SUSv2
+       bool "Enable obsolete features removed before SUSv3?"
        default y
        help
        default y
        help
-         This option will disable backwards compatibility with SuSv2,
+         This option will enable backwards compatibility with SuSv2,
          specifically, old-style numeric options ('command -1 <file>')
          specifically, old-style numeric options ('command -1 <file>')
-         will not be supported in head, tail, and fold.  (Note: should
-         yank from renice too.)
+         will be supported in head, tail, and fold.  (Note: should
+         affect renice too.)
 
 endmenu
 
 
 endmenu
 
@@ -410,31 +441,30 @@ config INSTALL_NO_USR
          that you really want this behaviour.
 
 choice
          that you really want this behaviour.
 
 choice
-       prompt "Applets links"
-       default INSTALL_APPLET_SYMLINKS
-       help
-         Choose how you install applets links.
+       prompt "Applets links"
+       default INSTALL_APPLET_SYMLINKS
+       help
+         Choose how you install applets links.
 
 config INSTALL_APPLET_SYMLINKS
 
 config INSTALL_APPLET_SYMLINKS
-       bool "as soft-links"
-       help
-         Install applets as soft-links to the busybox binary. This needs some
-         free inodes on the filesystem, but might help with filesystem
-         generators that can't cope with hard-links.
+       bool "as soft-links"
+       help
+         Install applets as soft-links to the busybox binary. This needs some
+         free inodes on the filesystem, but might help with filesystem
+         generators that can't cope with hard-links.
 
 config INSTALL_APPLET_HARDLINKS
 
 config INSTALL_APPLET_HARDLINKS
-       bool "as hard-links"
-       help
-         Install applets as hard-links to the busybox binary. This might count
-         on a filesystem with few inodes.
+       bool "as hard-links"
+       help
+         Install applets as hard-links to the busybox binary. This might count
+         on a filesystem with few inodes.
 
 config INSTALL_APPLET_DONT
 
 config INSTALL_APPLET_DONT
-       bool
-       prompt "not installed"
-       depends on FEATURE_INSTALLER || FEATURE_SH_STANDALONE_SHELL
-       help
-         Do not install applets links. Usefull when using the -install feature
-         or a standalone shell for rescue pruposes.
+       bool "not installed"
+       depends on FEATURE_INSTALLER || FEATURE_SH_STANDALONE_SHELL || FEATURE_EXEC_PREFER_APPLETS
+       help
+         Do not install applet links. Useful when using the -install feature
+         or a standalone shell for rescue pruposes.
 
 endchoice
 
 
 endchoice
 
@@ -469,3 +499,5 @@ source procps/Config.in
 source shell/Config.in
 source sysklogd/Config.in
 source runit/Config.in
 source shell/Config.in
 source sysklogd/Config.in
 source runit/Config.in
+source selinux/Config.in
+source ipsvd/Config.in