blob: ebe7ea1cc6472bec46d1b2fc81db9b49ed85d016 [file] [log] [blame]
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001Basic Installation
2==================
Jari Aalto726f6381996-08-26 18:22:31 +00003
Jari Aaltod166f041997-06-05 14:59:13 +00004These are installation instructions for Bash.
Jari Aalto726f6381996-08-26 18:22:31 +00005
Jari Aaltobb706242000-03-17 21:46:59 +00006The simplest way to compile Bash is:
7
8 1. `cd' to the directory containing the source code and type
9 `./configure' to configure Bash for your system. If you're using
10 `csh' on an old version of System V, you might need to type `sh
11 ./configure' instead to prevent `csh' from trying to execute
12 `configure' itself.
13
14 Running `configure' takes some time. While running, it prints
15 messages telling which features it is checking for.
16
17 2. Type `make' to compile Bash and build the `bashbug' bug reporting
18 script.
19
20 3. Optionally, type `make tests' to run the Bash test suite.
21
22 4. Type `make install' to install `bash' and `bashbug'. This will
23 also install the manual pages and Info file.
24
Jari Aaltoccc6cda1996-12-23 17:02:34 +000025The `configure' shell script attempts to guess correct values for
26various system-dependent variables used during compilation. It uses
27those values to create a `Makefile' in each directory of the package
Jari Aaltobb706242000-03-17 21:46:59 +000028(the top directory, the `builtins', `doc', and `support' directories,
29each directory under `lib', and several others). It also creates a
30`config.h' file containing system-dependent definitions. Finally, it
31creates a shell script named `config.status' that you can run in the
32future to recreate the current configuration, a file `config.cache'
33that saves the results of its tests to speed up reconfiguring, and a
34file `config.log' containing compiler output (useful mainly for
35debugging `configure'). If at some point `config.cache' contains
36results you don't want to keep, you may remove or edit it.
37
38To find out more about the options and arguments that the `configure'
39script understands, type
40
41 bash-2.04$ ./configure --help
42
43at the Bash prompt in your Bash source directory.
Jari Aalto726f6381996-08-26 18:22:31 +000044
Jari Aaltob72432f1999-02-19 17:11:39 +000045If you need to do unusual things to compile Bash, please try to figure
46out how `configure' could check whether or not to do them, and mail
47diffs or instructions to <bash-maintainers@gnu.org> so they can be
48considered for the next release.
Jari Aalto726f6381996-08-26 18:22:31 +000049
Chet Rameyac50fba2014-02-26 09:36:43 -050050The file `configure.ac' is used to create `configure' by a program
51called Autoconf. You only need `configure.ac' if you want to change it
Jari Aaltoccc6cda1996-12-23 17:02:34 +000052or regenerate `configure' using a newer version of Autoconf. If you do
Jari Aaltof73dda02001-11-13 17:56:06 +000053this, make sure you are using Autoconf version 2.50 or newer.
Jari Aalto726f6381996-08-26 18:22:31 +000054
Jari Aaltoccc6cda1996-12-23 17:02:34 +000055You can remove the program binaries and object files from the source
56code directory by typing `make clean'. To also remove the files that
57`configure' created (so you can compile Bash for a different kind of
58computer), type `make distclean'.
Jari Aalto726f6381996-08-26 18:22:31 +000059
Jari Aaltoccc6cda1996-12-23 17:02:34 +000060Compilers and Options
61=====================
Jari Aalto726f6381996-08-26 18:22:31 +000062
Jari Aaltoccc6cda1996-12-23 17:02:34 +000063Some systems require unusual options for compilation or linking that
64the `configure' script does not know about. You can give `configure'
65initial values for variables by setting them in the environment. Using
66a Bourne-compatible shell, you can do that on the command line like
67this:
Jari Aalto726f6381996-08-26 18:22:31 +000068
Jari Aaltoccc6cda1996-12-23 17:02:34 +000069 CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
Jari Aalto726f6381996-08-26 18:22:31 +000070
Jari Aaltoccc6cda1996-12-23 17:02:34 +000071On systems that have the `env' program, you can do it like this:
Jari Aalto726f6381996-08-26 18:22:31 +000072
Jari Aaltoccc6cda1996-12-23 17:02:34 +000073 env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
Jari Aalto726f6381996-08-26 18:22:31 +000074
Jari Aaltoccc6cda1996-12-23 17:02:34 +000075The configuration process uses GCC to build Bash if it is available.
Jari Aalto726f6381996-08-26 18:22:31 +000076
Jari Aaltoccc6cda1996-12-23 17:02:34 +000077Compiling For Multiple Architectures
78====================================
Jari Aalto726f6381996-08-26 18:22:31 +000079
Jari Aaltoccc6cda1996-12-23 17:02:34 +000080You can compile Bash for more than one kind of computer at the same
81time, by placing the object files for each architecture in their own
82directory. To do this, you must use a version of `make' that supports
83the `VPATH' variable, such as GNU `make'. `cd' to the directory where
84you want the object files and executables to go and run the `configure'
85script from the source directory. You may need to supply the
86`--srcdir=PATH' argument to tell `configure' where the source files
87are. `configure' automatically checks for the source code in the
88directory that `configure' is in and in `..'.
Jari Aalto726f6381996-08-26 18:22:31 +000089
Jari Aaltoccc6cda1996-12-23 17:02:34 +000090If you have to use a `make' that does not supports the `VPATH'
91variable, you can compile Bash for one architecture at a time in the
92source code directory. After you have installed Bash for one
93architecture, use `make distclean' before reconfiguring for another
94architecture.
Jari Aalto726f6381996-08-26 18:22:31 +000095
Jari Aaltoccc6cda1996-12-23 17:02:34 +000096Alternatively, if your system supports symbolic links, you can use the
97`support/mkclone' script to create a build tree which has symbolic
98links back to each file in the source directory. Here's an example
99that creates a build directory in the current directory from a source
100directory `/usr/gnu/src/bash-2.0':
Jari Aalto726f6381996-08-26 18:22:31 +0000101
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000102 bash /usr/gnu/src/bash-2.0/support/mkclone -s /usr/gnu/src/bash-2.0 .
Jari Aalto726f6381996-08-26 18:22:31 +0000103
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000104The `mkclone' script requires Bash, so you must have already built Bash
105for at least one architecture before you can create build directories
106for other architectures.
Jari Aalto726f6381996-08-26 18:22:31 +0000107
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000108Installation Names
109==================
Jari Aalto726f6381996-08-26 18:22:31 +0000110
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000111By default, `make install' will install into `/usr/local/bin',
112`/usr/local/man', etc. You can specify an installation prefix other
Jari Aaltof73dda02001-11-13 17:56:06 +0000113than `/usr/local' by giving `configure' the option `--prefix=PATH', or
114by specifying a value for the `DESTDIR' `make' variable when running
115`make install'.
Jari Aalto726f6381996-08-26 18:22:31 +0000116
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000117You can specify separate installation prefixes for
118architecture-specific files and architecture-independent files. If you
Jari Aaltob72432f1999-02-19 17:11:39 +0000119give `configure' the option `--exec-prefix=PATH', `make install' will
Jari Aaltobb706242000-03-17 21:46:59 +0000120use PATH as the prefix for installing programs and libraries.
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000121Documentation and other data files will still use the regular prefix.
Jari Aalto726f6381996-08-26 18:22:31 +0000122
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000123Specifying the System Type
124==========================
Jari Aalto726f6381996-08-26 18:22:31 +0000125
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000126There may be some features `configure' can not figure out
Jari Aaltof73dda02001-11-13 17:56:06 +0000127automatically, but need to determine by the type of host Bash will run
Jari Aaltob72432f1999-02-19 17:11:39 +0000128on. Usually `configure' can figure that out, but if it prints a
129message saying it can not guess the host type, give it the
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000130`--host=TYPE' option. `TYPE' can either be a short name for the system
131type, such as `sun4', or a canonical name with three fields:
Jari Aaltof73dda02001-11-13 17:56:06 +0000132`CPU-COMPANY-SYSTEM' (e.g., `i386-unknown-freebsd4.2').
Jari Aalto726f6381996-08-26 18:22:31 +0000133
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000134See the file `support/config.sub' for the possible values of each field.
Jari Aalto726f6381996-08-26 18:22:31 +0000135
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000136Sharing Defaults
137================
Jari Aalto726f6381996-08-26 18:22:31 +0000138
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000139If you want to set default values for `configure' scripts to share, you
140can create a site shell script called `config.site' that gives default
141values for variables like `CC', `cache_file', and `prefix'. `configure'
142looks for `PREFIX/share/config.site' if it exists, then
143`PREFIX/etc/config.site' if it exists. Or, you can set the
144`CONFIG_SITE' environment variable to the location of the site script.
145A warning: the Bash `configure' looks for a site script, but not all
146`configure' scripts do.
Jari Aalto726f6381996-08-26 18:22:31 +0000147
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000148Operation Controls
149==================
Jari Aalto726f6381996-08-26 18:22:31 +0000150
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000151`configure' recognizes the following options to control how it operates.
Jari Aalto726f6381996-08-26 18:22:31 +0000152
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000153`--cache-file=FILE'
154 Use and save the results of the tests in FILE instead of
155 `./config.cache'. Set FILE to `/dev/null' to disable caching, for
156 debugging `configure'.
Jari Aalto726f6381996-08-26 18:22:31 +0000157
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000158`--help'
159 Print a summary of the options to `configure', and exit.
Jari Aalto726f6381996-08-26 18:22:31 +0000160
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000161`--quiet'
162`--silent'
163`-q'
164 Do not print messages saying which checks are being made.
Jari Aalto726f6381996-08-26 18:22:31 +0000165
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000166`--srcdir=DIR'
167 Look for the Bash source code in directory DIR. Usually
168 `configure' can determine that directory automatically.
Jari Aalto726f6381996-08-26 18:22:31 +0000169
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000170`--version'
171 Print the version of Autoconf used to generate the `configure'
172 script, and exit.
Jari Aalto726f6381996-08-26 18:22:31 +0000173
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000174`configure' also accepts some other, not widely used, boilerplate
Jari Aaltobb706242000-03-17 21:46:59 +0000175options. `configure --help' prints the complete list.
Jari Aalto726f6381996-08-26 18:22:31 +0000176
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000177Optional Features
178=================
Jari Aalto726f6381996-08-26 18:22:31 +0000179
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000180The Bash `configure' has a number of `--enable-FEATURE' options, where
Jari Aaltob72432f1999-02-19 17:11:39 +0000181FEATURE indicates an optional part of Bash. There are also several
Jari Aaltobb706242000-03-17 21:46:59 +0000182`--with-PACKAGE' options, where PACKAGE is something like `bash-malloc'
Jari Aaltob72432f1999-02-19 17:11:39 +0000183or `purify'. To turn off the default use of a package, use
184`--without-PACKAGE'. To configure Bash without a feature that is
185enabled by default, use `--disable-FEATURE'.
Jari Aalto726f6381996-08-26 18:22:31 +0000186
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000187Here is a complete list of the `--enable-' and `--with-' options that
188the Bash `configure' recognizes.
Jari Aalto726f6381996-08-26 18:22:31 +0000189
Jari Aaltod166f041997-06-05 14:59:13 +0000190`--with-afs'
191 Define if you are using the Andrew File System from Transarc.
192
Jari Aaltobb706242000-03-17 21:46:59 +0000193`--with-bash-malloc'
Jari Aalto95732b42005-12-07 14:08:12 +0000194 Use the Bash version of `malloc' in the directory `lib/malloc'.
195 This is not the same `malloc' that appears in GNU libc, but an
196 older version originally derived from the 4.2 BSD `malloc'. This
197 `malloc' is very fast, but wastes some space on each allocation.
198 This option is enabled by default. The `NOTES' file contains a
199 list of systems for which this should be turned off, and
200 `configure' disables this option automatically for a number of
201 systems.
Jari Aaltobb706242000-03-17 21:46:59 +0000202
Jari Aaltod166f041997-06-05 14:59:13 +0000203`--with-curses'
204 Use the curses library instead of the termcap library. This should
205 be supplied if your system has an inadequate or incomplete termcap
206 database.
Jari Aalto726f6381996-08-26 18:22:31 +0000207
Jari Aaltod166f041997-06-05 14:59:13 +0000208`--with-gnu-malloc'
Jari Aaltobb706242000-03-17 21:46:59 +0000209 A synonym for `--with-bash-malloc'.
Jari Aalto726f6381996-08-26 18:22:31 +0000210
Jari Aaltof73dda02001-11-13 17:56:06 +0000211`--with-installed-readline[=PREFIX]'
Jari Aaltobb706242000-03-17 21:46:59 +0000212 Define this to make Bash link with a locally-installed version of
213 Readline rather than the version in `lib/readline'. This works
Jari Aalto95732b42005-12-07 14:08:12 +0000214 only with Readline 5.0 and later versions. If PREFIX is `yes' or
Jari Aaltof73dda02001-11-13 17:56:06 +0000215 not supplied, `configure' uses the values of the make variables
216 `includedir' and `libdir', which are subdirectories of `prefix' by
217 default, to find the installed version of Readline if it is not in
218 the standard system include and library directories. If PREFIX is
219 `no', Bash links with the version in `lib/readline'. If PREFIX is
220 set to any other value, `configure' treats it as a directory
221 pathname and looks for the installed version of Readline in
222 subdirectories of that directory (include files in
223 PREFIX/`include' and the library in PREFIX/`lib').
Jari Aaltob72432f1999-02-19 17:11:39 +0000224
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000225`--with-purify'
Jari Aaltobb706242000-03-17 21:46:59 +0000226 Define this to use the Purify memory allocation checker from
227 Rational Software.
Jari Aalto726f6381996-08-26 18:22:31 +0000228
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000229`--enable-minimal-config'
230 This produces a shell with minimal features, close to the
231 historical Bourne shell.
Jari Aalto726f6381996-08-26 18:22:31 +0000232
Jari Aaltocce855b1998-04-17 19:52:44 +0000233There are several `--enable-' options that alter how Bash is compiled
234and linked, rather than changing run-time features.
235
Jari Aaltof73dda02001-11-13 17:56:06 +0000236`--enable-largefile'
237 Enable support for large files
238 (http://www.sas.com/standards/large_file/x_open.20Mar96.html) if
239 the operating system requires special compiler options to build
Jari Aalto7117c2d2002-07-17 14:10:11 +0000240 programs which can access large files. This is enabled by
241 default, if the operating system provides large file support.
Jari Aaltof73dda02001-11-13 17:56:06 +0000242
Jari Aaltocce855b1998-04-17 19:52:44 +0000243`--enable-profiling'
244 This builds a Bash binary that produces profiling information to be
245 processed by `gprof' each time it is executed.
246
247`--enable-static-link'
248 This causes Bash to be linked statically, if `gcc' is being used.
249 This could be used to build a version to use as root's shell.
250
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000251The `minimal-config' option can be used to disable all of the following
252options, but it is processed first, so individual options may be
253enabled using `enable-FEATURE'.
Jari Aalto726f6381996-08-26 18:22:31 +0000254
Chet Rameyac50fba2014-02-26 09:36:43 -0500255All of the following options except for `disabled-builtins',
256`directpand-default', and `xpg-echo-default' are enabled by default,
257unless the operating system does not provide the necessary support.
Jari Aalto726f6381996-08-26 18:22:31 +0000258
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000259`--enable-alias'
260 Allow alias expansion and include the `alias' and `unalias'
Jari Aalto28ef6c32001-04-06 19:14:31 +0000261 builtins (*note Aliases::).
Jari Aalto726f6381996-08-26 18:22:31 +0000262
Jari Aaltobb706242000-03-17 21:46:59 +0000263`--enable-arith-for-command'
264 Include support for the alternate form of the `for' command that
265 behaves like the C language `for' statement (*note Looping
Jari Aalto28ef6c32001-04-06 19:14:31 +0000266 Constructs::).
Jari Aaltobb706242000-03-17 21:46:59 +0000267
Jari Aaltod166f041997-06-05 14:59:13 +0000268`--enable-array-variables'
Jari Aaltob72432f1999-02-19 17:11:39 +0000269 Include support for one-dimensional array shell variables (*note
Jari Aalto28ef6c32001-04-06 19:14:31 +0000270 Arrays::).
Jari Aalto726f6381996-08-26 18:22:31 +0000271
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000272`--enable-bang-history'
Jari Aaltob72432f1999-02-19 17:11:39 +0000273 Include support for `csh'-like history substitution (*note History
Jari Aalto28ef6c32001-04-06 19:14:31 +0000274 Interaction::).
Jari Aalto726f6381996-08-26 18:22:31 +0000275
Jari Aaltod166f041997-06-05 14:59:13 +0000276`--enable-brace-expansion'
277 Include `csh'-like brace expansion ( `b{a,b}c' ==> `bac bbc' ).
Jari Aalto31859422009-01-12 13:36:28 +0000278 See *note Brace Expansion::, for a complete description.
279
280`--enable-casemod-attributes'
281 Include support for case-modifying attributes in the `declare'
282 builtin and assignment statements. Variables with the UPPERCASE
283 attribute, for example, will have their values converted to
284 uppercase upon assignment.
285
286`--enable-casemod-expansion'
287 Include support for case-modifying word expansions.
Jari Aaltod166f041997-06-05 14:59:13 +0000288
289`--enable-command-timing'
290 Include support for recognizing `time' as a reserved word and for
Jari Aaltobb706242000-03-17 21:46:59 +0000291 displaying timing statistics for the pipeline following `time'
Jari Aalto28ef6c32001-04-06 19:14:31 +0000292 (*note Pipelines::). This allows pipelines as well as shell
Jari Aaltobb706242000-03-17 21:46:59 +0000293 builtins and functions to be timed.
Jari Aaltod166f041997-06-05 14:59:13 +0000294
Jari Aaltocce855b1998-04-17 19:52:44 +0000295`--enable-cond-command'
Jari Aaltob80f6442004-07-27 13:29:18 +0000296 Include support for the `[[' conditional command. (*note
297 Conditional Constructs::).
298
299`--enable-cond-regexp'
300 Include support for matching POSIX regular expressions using the
301 `=~' binary operator in the `[[' conditional command. (*note
Jari Aalto28ef6c32001-04-06 19:14:31 +0000302 Conditional Constructs::).
Jari Aaltocce855b1998-04-17 19:52:44 +0000303
Jari Aalto31859422009-01-12 13:36:28 +0000304`--enable-coprocesses'
305 Include support for coprocesses and the `coproc' reserved word
306 (*note Pipelines::).
307
Jari Aalto95732b42005-12-07 14:08:12 +0000308`--enable-debugger'
309 Include support for the bash debugger (distributed separately).
310
Chet Rameyac50fba2014-02-26 09:36:43 -0500311`--enable-direxpand-default'
312 Cause the `direxpand' shell option (*note The Shopt Builtin::) to
313 be enabled by default when the shell starts. It is normally
314 disabled by default.
315
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000316`--enable-directory-stack'
317 Include support for a `csh'-like directory stack and the `pushd',
Jari Aalto28ef6c32001-04-06 19:14:31 +0000318 `popd', and `dirs' builtins (*note The Directory Stack::).
Jari Aalto726f6381996-08-26 18:22:31 +0000319
Jari Aaltod166f041997-06-05 14:59:13 +0000320`--enable-disabled-builtins'
321 Allow builtin commands to be invoked via `builtin xxx' even after
Jari Aalto31859422009-01-12 13:36:28 +0000322 `xxx' has been disabled using `enable -n xxx'. See *note Bash
Jari Aaltod166f041997-06-05 14:59:13 +0000323 Builtins::, for details of the `builtin' and `enable' builtin
324 commands.
325
326`--enable-dparen-arithmetic'
Jari Aaltob72432f1999-02-19 17:11:39 +0000327 Include support for the `((...))' command (*note Conditional
Jari Aalto28ef6c32001-04-06 19:14:31 +0000328 Constructs::).
Jari Aaltod166f041997-06-05 14:59:13 +0000329
Jari Aaltocce855b1998-04-17 19:52:44 +0000330`--enable-extended-glob'
331 Include support for the extended pattern matching features
Jari Aalto31859422009-01-12 13:36:28 +0000332 described above under *note Pattern Matching::.
Jari Aaltocce855b1998-04-17 19:52:44 +0000333
Chet Ramey00018032011-11-21 20:51:19 -0500334`--enable-extended-glob-default'
335 Set the default value of the EXTGLOB shell option described above
336 under *note The Shopt Builtin:: to be enabled.
337
Chet Rameyac50fba2014-02-26 09:36:43 -0500338`--enable-glob-asciirange-default'
339 Set the default value of the GLOBASCIIRANGES shell option described
340 above under *note The Shopt Builtin:: to be enabled. This
341 controls the behavior of character ranges when used in pattern
342 matching bracket expressions.
343
Jari Aaltod166f041997-06-05 14:59:13 +0000344`--enable-help-builtin'
345 Include the `help' builtin, which displays help on shell builtins
Jari Aalto28ef6c32001-04-06 19:14:31 +0000346 and variables (*note Bash Builtins::).
Jari Aaltod166f041997-06-05 14:59:13 +0000347
348`--enable-history'
349 Include command history and the `fc' and `history' builtin
Jari Aalto28ef6c32001-04-06 19:14:31 +0000350 commands (*note Bash History Facilities::).
Jari Aaltod166f041997-06-05 14:59:13 +0000351
352`--enable-job-control'
Jari Aalto28ef6c32001-04-06 19:14:31 +0000353 This enables the job control features (*note Job Control::), if
Jari Aaltob72432f1999-02-19 17:11:39 +0000354 the operating system supports them.
Jari Aalto726f6381996-08-26 18:22:31 +0000355
Jari Aaltob80f6442004-07-27 13:29:18 +0000356`--enable-multibyte'
357 This enables support for multibyte characters if the operating
358 system provides the necessary support.
359
Jari Aaltobb706242000-03-17 21:46:59 +0000360`--enable-net-redirections'
361 This enables the special handling of filenames of the form
362 `/dev/tcp/HOST/PORT' and `/dev/udp/HOST/PORT' when used in
Jari Aalto28ef6c32001-04-06 19:14:31 +0000363 redirections (*note Redirections::).
Jari Aaltobb706242000-03-17 21:46:59 +0000364
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000365`--enable-process-substitution'
Jari Aalto28ef6c32001-04-06 19:14:31 +0000366 This enables process substitution (*note Process Substitution::) if
367 the operating system provides the necessary support.
Jari Aalto726f6381996-08-26 18:22:31 +0000368
Jari Aalto95732b42005-12-07 14:08:12 +0000369`--enable-progcomp'
370 Enable the programmable completion facilities (*note Programmable
371 Completion::). If Readline is not enabled, this option has no
372 effect.
373
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000374`--enable-prompt-string-decoding'
375 Turn on the interpretation of a number of backslash-escaped
376 characters in the `$PS1', `$PS2', `$PS3', and `$PS4' prompt
Chet Rameyac50fba2014-02-26 09:36:43 -0500377 strings. See *note Controlling the Prompt::, for a complete list
378 of prompt string escape sequences.
Jari Aalto726f6381996-08-26 18:22:31 +0000379
Jari Aaltod166f041997-06-05 14:59:13 +0000380`--enable-readline'
381 Include support for command-line editing and history with the Bash
Jari Aalto28ef6c32001-04-06 19:14:31 +0000382 version of the Readline library (*note Command Line Editing::).
Jari Aaltod166f041997-06-05 14:59:13 +0000383
384`--enable-restricted'
385 Include support for a "restricted shell". If this is enabled,
Jari Aalto31859422009-01-12 13:36:28 +0000386 Bash, when called as `rbash', enters a restricted mode. See *note
Jari Aaltod166f041997-06-05 14:59:13 +0000387 The Restricted Shell::, for a description of restricted mode.
388
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000389`--enable-select'
Chet Ramey495aee42011-11-22 19:11:26 -0500390 Include the `select' compound command, which allows the generation
391 of simple menus (*note Conditional Constructs::).
Jari Aalto726f6381996-08-26 18:22:31 +0000392
Jari Aalto95732b42005-12-07 14:08:12 +0000393`--enable-separate-helpfiles'
394 Use external files for the documentation displayed by the `help'
395 builtin instead of storing the text internally.
396
397`--enable-single-help-strings'
398 Store the text displayed by the `help' builtin as a single string
399 for each help topic. This aids in translating the text to
400 different languages. You may need to disable this if your
401 compiler cannot handle very long string literals.
402
403`--enable-strict-posix-default'
404 Make Bash POSIX-conformant by default (*note Bash POSIX Mode::).
405
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000406`--enable-usg-echo-default'
Jari Aaltobb706242000-03-17 21:46:59 +0000407 A synonym for `--enable-xpg-echo-default'.
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000408
Jari Aaltobb706242000-03-17 21:46:59 +0000409`--enable-xpg-echo-default'
410 Make the `echo' builtin expand backslash-escaped characters by
411 default, without requiring the `-e' option. This sets the default
412 value of the `xpg_echo' shell option to `on', which makes the Bash
413 `echo' behave more like the version specified in the Single Unix
Jari Aalto95732b42005-12-07 14:08:12 +0000414 Specification, version 3. *Note Bash Builtins::, for a
Jari Aaltobb706242000-03-17 21:46:59 +0000415 description of the escape sequences that `echo' recognizes.
416
417The file `config-top.h' contains C Preprocessor `#define' statements
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000418for options which are not settable from `configure'. Some of these are
419not meant to be changed; beware of the consequences if you do. Read
420the comments associated with each definition for more information about
421its effect.