Cleanup some config problems. Add a sane default config that basically
[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
16 if [ "$CONFIG_FEATURE_SH_IS_ASH" = "y" ] ; then
17         define_bool CONFIG_ASH  y
18         comment 'ash'
19 else
20         bool 'ash'          CONFIG_ASH
21 fi
22
23 if [ "$CONFIG_FEATURE_SH_IS_HUSH" = "y" ] ; then
24         define_bool CONFIG_HUSH y
25         comment 'hush'
26 else
27         bool 'hush'         CONFIG_HUSH
28 fi
29
30 if [ "$CONFIG_FEATURE_SH_IS_LASH" = "y" ] ; then
31         define_bool CONFIG_LASH y
32         comment 'lash'
33 else
34         bool 'lash'         CONFIG_LASH
35 fi
36
37 if [ "$CONFIG_FEATURE_SH_IS_MSH" = "y" ] ; then
38         define_bool CONFIG_MSH  y
39         comment 'msh'
40 else
41         bool 'msh'          CONFIG_MSH
42 fi
43
44
45 comment 'Bourne Shell Options'
46 bool 'command line editing'             CONFIG_FEATURE_COMMAND_EDITING
47 bool 'tab completion'                   CONFIG_FEATURE_COMMAND_TAB_COMPLETION
48 bool 'username completion'              CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION
49 bool 'Standalone shell'                 CONFIG_FEATURE_SH_STANDALONE_SHELL
50 bool 'Standalone shell -- applets always win'   CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN
51 bool 'Fancy shell prompts'      CONFIG_FEATURE_SH_FANCY_PROMPT
52 bool 'Hide message on interactive shell startup'        CONFIG_FEATURE_SH_EXTRA_QUIET
53
54 endmenu
55