summaryrefslogtreecommitdiff
path: root/shell/Config.in
diff options
context:
space:
mode:
authorMike Frysinger2009-04-02 10:02:37 +0000
committerMike Frysinger2009-04-02 10:02:37 +0000
commit98c52645c02dacebccae7d68d6c2627f9318fcf7 (patch)
treee0c64b5b24206f95e72fd060336f74cb459f2109 /shell/Config.in
parent551ffdccea39a9223ad451954db40fd7a6e20e79 (diff)
downloadbusybox-98c52645c02dacebccae7d68d6c2627f9318fcf7.zip
busybox-98c52645c02dacebccae7d68d6c2627f9318fcf7.tar.gz
split math code out of ash and into a standalone library so we can use it in any shell (like hush!)
Diffstat (limited to 'shell/Config.in')
-rw-r--r--shell/Config.in32
1 files changed, 16 insertions, 16 deletions
diff --git a/shell/Config.in b/shell/Config.in
index afc4296..7daf17f 100644
--- a/shell/Config.in
+++ b/shell/Config.in
@@ -84,22 +84,6 @@ config ASH_ALIAS
help
Enable alias support in the ash shell.
-config ASH_MATH_SUPPORT
- bool "Posix math support"
- default y
- depends on ASH
- help
- Enable math support in the ash shell.
-
-config ASH_MATH_SUPPORT_64
- bool "Extend Posix math support to 64 bit"
- default n
- depends on ASH_MATH_SUPPORT
- help
- Enable 64-bit math support in the ash shell. This will make
- the shell slightly larger, but will allow computation with very
- large numbers.
-
config ASH_GETOPTS
bool "Builtin getopt to parse positional parameters"
default n
@@ -267,6 +251,22 @@ config MSH
comment "Bourne Shell Options"
depends on MSH || LASH || HUSH || ASH
+config SH_MATH_SUPPORT
+ bool "POSIX math support"
+ default y
+ depends on ASH || HUSH
+ help
+ Enable math support in the shell via $((...)) syntax.
+
+config SH_MATH_SUPPORT_64
+ bool "Extend POSIX math support to 64 bit"
+ default n
+ depends on SH_MATH_SUPPORT
+ help
+ Enable 64-bit math support in the shell. This will make the shell
+ slightly larger, but will allow computation with very large numbers.
+ This is not in POSIX, so do not rely on this in portable code.
+
config FEATURE_SH_EXTRA_QUIET
bool "Hide message on interactive shell startup"
default n