From 98c52645c02dacebccae7d68d6c2627f9318fcf7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 2 Apr 2009 10:02:37 +0000 Subject: split math code out of ash and into a standalone library so we can use it in any shell (like hush!) --- shell/Config.in | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'shell/Config.in') diff --git a/shell/Config.in b/shell/Config.in index afc429667..7daf17ff6 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 -- cgit v1.2.3