diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-10 13:39:35 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-10 13:39:35 +0200 |
commit | 9ca656b14945ec8462dc529ef5dc7662cce08296 (patch) | |
tree | e9a2ba84e8b5ed5a4ce3c8e541d784012250bf07 /shell/Config.in | |
parent | 1d77db8459e1948cdde407f5010f772b81048dbd (diff) | |
download | busybox-w32-9ca656b14945ec8462dc529ef5dc7662cce08296.tar.gz busybox-w32-9ca656b14945ec8462dc529ef5dc7662cce08296.tar.bz2 busybox-w32-9ca656b14945ec8462dc529ef5dc7662cce08296.zip |
hush: add HUSH_BASH_COMPAT, make [[ special handling depend on it
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/Config.in')
-rw-r--r-- | shell/Config.in | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/shell/Config.in b/shell/Config.in index ee56d89f3..126dba8e5 100644 --- a/shell/Config.in +++ b/shell/Config.in | |||
@@ -43,9 +43,6 @@ config ASH | |||
43 | shell (by Herbert Xu), which was created by porting the 'ash' shell | 43 | shell (by Herbert Xu), which was created by porting the 'ash' shell |
44 | (written by Kenneth Almquist) from NetBSD. | 44 | (written by Kenneth Almquist) from NetBSD. |
45 | 45 | ||
46 | comment "Ash Shell Options" | ||
47 | depends on ASH | ||
48 | |||
49 | config ASH_BASH_COMPAT | 46 | config ASH_BASH_COMPAT |
50 | bool "bash-compatible extensions" | 47 | bool "bash-compatible extensions" |
51 | default y | 48 | default y |
@@ -169,6 +166,13 @@ config HUSH | |||
169 | It does not handle select, aliases, brace expansion, | 166 | It does not handle select, aliases, brace expansion, |
170 | tilde expansion, &>file and >&file redirection of stdout+stderr. | 167 | tilde expansion, &>file and >&file redirection of stdout+stderr. |
171 | 168 | ||
169 | config HUSH_BASH_COMPAT | ||
170 | bool "bash-compatible extensions" | ||
171 | default y | ||
172 | depends on HUSH | ||
173 | help | ||
174 | Enable bash-compatible extensions. | ||
175 | |||
172 | config HUSH_HELP | 176 | config HUSH_HELP |
173 | bool "help builtin" | 177 | bool "help builtin" |
174 | default n | 178 | default n |
@@ -268,9 +272,6 @@ config MSH | |||
268 | # It uses only vfork, so it can be used on uClinux systems. | 272 | # It uses only vfork, so it can be used on uClinux systems. |
269 | 273 | ||
270 | 274 | ||
271 | comment "Bourne Shell Options" | ||
272 | depends on MSH || LASH || HUSH || ASH | ||
273 | |||
274 | config SH_MATH_SUPPORT | 275 | config SH_MATH_SUPPORT |
275 | bool "POSIX math support" | 276 | bool "POSIX math support" |
276 | default y | 277 | default y |