Set the close-on-exec flag, just to be saf
[oweals/busybox.git] / shell / config.in
1 #
2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
4 #
5
6 mainmenu_option next_comment
7 comment 'Bourne Shell'
8
9 choice 'Choose your default shell' \
10     "ash                                    CONFIG_FEATURE_SH_IS_ASH  \
11     hush                                    CONFIG_FEATURE_SH_IS_HUSH \
12     lash                                    CONFIG_FEATURE_SH_IS_LASH \
13     msh                                     CONFIG_FEATURE_SH_IS_MSH  \
14     none                                    CONFIG_FEATURE_SH_IS_NONE" \
15     ash
16
17 if [ "$CONFIG_FEATURE_SH_IS_ASH" = "y" ] ; then
18         define_bool CONFIG_ASH  y
19 fi
20         
21 if [ "$CONFIG_FEATURE_SH_IS_HUSH" = "y" ] ; then
22         define_bool CONFIG_HUSH y
23 fi
24
25 if [ "$CONFIG_FEATURE_SH_IS_LASH" = "y" ] ; then
26         define_bool CONFIG_LASH y
27 fi
28
29 if [ "$CONFIG_FEATURE_SH_IS_MSH" = "y" ] ; then
30         define_bool CONFIG_MSH  y
31 fi
32
33 bool 'ash'          CONFIG_ASH
34 if [ "$CONFIG_ASH" = "y" ] ; then
35         comment 'Ash Shell Options'
36         bool 'Enable Job control'               CONFIG_ASH_JOB_CONTROL
37         bool 'Enable alias support'             CONFIG_ASH_ALIAS
38         bool 'Enable Posix math support'        CONFIG_ASH_MATH_SUPPORT
39         bool 'Enable getopt builtin to parse positional parameters'             CONFIG_ASH_GETOPTS
40         bool 'Enable cmdcmd to override shell builtins'         CONFIG_ASH_CMDCMD
41         bool 'Check for new mail on interactive shells'         CONFIG_ASH_MAIL
42         bool 'Optimize for size instead of speed'       CONFIG_ASH_OPTIMIZE_FOR_SIZE
43         comment ''
44 fi
45
46 bool 'hush'         CONFIG_HUSH
47 bool 'lash'         CONFIG_LASH
48 bool 'msh'          CONFIG_MSH
49
50         
51 comment 'Bourne Shell Options'
52 bool 'command line editing'             CONFIG_FEATURE_COMMAND_EDITING
53 bool 'tab completion'                   CONFIG_FEATURE_COMMAND_TAB_COMPLETION
54 bool 'username completion'              CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION
55 bool 'Standalone shell'                 CONFIG_FEATURE_SH_STANDALONE_SHELL
56 bool 'Standalone shell -- applets always win'   CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN
57 bool 'Fancy shell prompts'      CONFIG_FEATURE_SH_FANCY_PROMPT
58 bool 'Hide message on interactive shell startup'        CONFIG_FEATURE_SH_EXTRA_QUIET
59
60 endmenu
61