summaryrefslogtreecommitdiffstats
path: root/rules/bash.in
blob: 4c1e0e12c744b2380ea9427e99c245084a28bace (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
## SECTION=shell_and_console
menuconfig BASH
	tristate "bash                          "
	select LIBC_DL
	select GCCLIBS_GCC_S
	select NCURSES if BASH_CURSES
	help
	  The GNU Bourne Again SHell
	  Bash is an sh-compatible command language interpreter that executes
 	  commands read from the standard input or from a file.  Bash also
 	  incorporates useful features from the Korn and C shells (ksh and csh).

	  Bash is ultimately intended to be a conformant implementation of the
 	  IEEE POSIX Shell and Tools specification (IEEE Working Group 1003.2).

	  Included in the bash package is the Programmable Completion Code,
	  by Ian Macdonald.

	  http://www.gnu.org/software/bash/

if BASH

config BASH_SHLIKE
	bool
	prompt "Enable minimal sh like configuration"
	help
	  This produces a shell with minimal features, close to the
	  historical Bourne shell.

comment ""
	depends on INVISIBLE

if !BASH_SHLIKE

config BASH_ALIASES
	bool
	prompt "Enable aliases"
	default y
	help
	  Aliases allow a string to be substituted for a word
	  when it is used as the first word of a simple command.
	  The shell maintains a list of aliases that may be
	  set  and unset with the alias and unalias builtin commands

config BASH_ARITHMETIC_FOR
	bool
	prompt "Enable arithmetic for command"
	help
	  Include support for the alternate form of the for command that
	  behaves like the C language for statement.
	  This does not work properly in bash-2.05b!

config BASH_ARRAY
	bool
	prompt "Include shell array variables"
	default y

config BASH_HISTORY
	bool
	prompt "Turn on csh-style history substitution"
	default y
	help
	  The bash shell supports a history expansion feature
	  that is similar to the history expansion in csh.

config BASH_BRACE
	bool
	prompt "Include brace expansion"
	default y
	help
	  Brace  expansion is a mechanism by which arbitrary
	  strings may be generated.  This mechanism is similar
	  to pathname expansion, but the filenames generated
	  need not exist.

config BASH_CASEMODATTR
	bool
	prompt "include case-modifying variable attributes"

config BASH_CASEMODEXP
	bool
	prompt "include case-modifying word expansions"

config BASH_CMDTIMING
	bool
	prompt "enable the time reserved word and command timing"

config BASH_CONDITIONAL
	bool
	default y
	prompt "Enable the conditional command"

config BASH_CONDITIONAL_REGEX
	bool
	prompt "enable extended regular expression matching in conditional commands"
	depends on BASH_CONDITIONAL

config BASH_COPROCESSES
	bool
	default y
	prompt "enable coprocess support and the coproc reserved word"

config BASH_DEBUGGER
	bool
	prompt "enable support for bash debugger"

config BASH_DIREXPDEFLT
	bool
	prompt "enable the direxpand shell option by default"

config BASH_DIRSTACK
	bool
	prompt "Enable builtins pushd/popd/dirs"
	default y
	help
	   Without  options, "dirs" displays the list of
	   currently remembered directories.  The default
	   display is on a single line with directory
	   names separated by spaces.  Directories are
	   added to the list with the pushd command;
	   the popd command removes entries from the list.

config BASH_DISABLED_BUILDINS
	bool
	prompt "Allow disabled builtins to still be invoked"

config BASH_DPARAN_ARITH
	bool
	prompt "include ((...)) command"
	default y

config BASH_EXTPATTERN
	bool
	default y
	# fails to build without this in 4.3.30
	prompt "Include ksh-style extended pattern matching" if BROKEN

config BASH_EXTPATTERN_DEFLT
	bool
	prompt "force extended pattern matching to be enabled by default"

config BASH_GLOB_ASCIIRANGE_DEFLT
	bool
	prompt "bracket range pattern matching uses C locale"
	help
	  force bracket range expressions in pattern matching to use the C
	  locale by default

config BASH_HELP
	bool
	prompt "Include the help builtin"
	help
	  This builtin supports minimal help features inside bash

config BASH_CMDHISTORY
	bool
	prompt "Turn on command history"
	default y
	help
	  This enables command history features. The shell
	  buffers commands in a ringbuffer, which can be listed,
	  searched and accessed by various commands and magic
	  shell expansion features.

config BASH_JOBS
	bool
	prompt "Enable job control features"
	default y
	help
	  This enables support for background jobs in bash.
	  You can list the actual managed jobs by the "jobs" command.

config BASH_MULTIBYTE
	bool
	prompt "Enable multibyte characters"
	default y
	help
	  Enable multibyte characters if OS supports them.

config BASH_PROCSUBST
	bool
	prompt "Enable process substitution"
	default y
	help
	  This enables process substitution if the operating system
	  provides the necessary support.
	  Process substitution is supported on systems that support
	  named pipes (FIFOs) or the '/dev/fd' method of naming open
	  files. It takes the form of <(list) or >(list).

config BASH_BASHCOMPLETION
	bool
	prompt "Enable programmable completion"
	help
	  Enable the programmable completion facilities.
	  When word completion is attempted for an argument to a
	  command for which a completion specification (a compspec) has
	  been defined using the complete builtin, the programmable
	  completion facilities are invoked.
	  If Readline is not enabled, this option has no effect.

config BASH_ESC
	bool
	prompt "Turn on escape character decoding in prompts"
	default y
	help
	  Turn on the interpretation of a number of backslash-escaped
	  characters in the $PS1, $PS2, $PS3, and $PS4 prompt strings.

config BASH_EDIT
	bool
#	prompt "Turn on command line editing"
	default y
	help
	  Include support for command-line editing and history with
	  the Bash version of the Readline library.

config BASH_RESTRICTED
	bool
	prompt "Enable a restricted shell"
	help
	  Include support for a restricted shell. If this is enabled,
	  Bash enters a restricted mode, when called as rbash or invoked
	  with the `--restricted' or `-r' option.
	  A restricted shell is used to set up an environment
	  more controlled than the standard shell.

config BASH_SELECT
	bool
	prompt "Include select command"
	help
	  Include the select builtin, which allows the generation of
	  simple menus.

config BASH_SEP_HELPFILES
	bool
	depends on BROKEN
	prompt "use external files for help builtin documentation"

config BASH_SINGLE_HELPLINE
	bool
	prompt "store help documentation as a single string to ease translation"

endif

config BASH_GPROF
	bool
	prompt "Allow profiling with gprof"
	help
	  This builds a Bash binary that produces profiling information
	  to be processed by gprof each time it is executed.

config BASH_STATIC
	bool
	prompt "Link bash statically"
	help
	  This causes Bash to be linked statically, if gcc is being used.
	  This could be used to build a version to use as root's shell.

config BASH_CURSES
	bool
	prompt "Use libcurses instead of libtermcap"

config BASH_SH
	bool
	default BUSYBOX = n || BUSYBOX_SH_IS_NONE

endif