source: trunk/essentials/app-shells/bash/config.h.in@ 3246

Last change on this file since 3246 was 3228, checked in by bird, 19 years ago

bash 3.1

File size: 24.9 KB
Line 
1/* config.h -- Configuration file for bash. */
2
3/* Copyright (C) 1987-2004 Free Software Foundation, Inc.
4
5 This file is part of GNU Bash, the Bourne Again SHell.
6
7 Bash is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
11
12 Bash is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
15 License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with Bash; see the file COPYING. If not, write to the Free
19 Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
20
21#ifndef _CONFIG_H_
22#define _CONFIG_H_
23
24/* Configuration feature settings controllable by autoconf. */
25
26/* Define JOB_CONTROL if your operating system supports
27 BSD-like job control. */
28#undef JOB_CONTROL
29
30/* Define ALIAS if you want the alias features. */
31#undef ALIAS
32
33/* Define PUSHD_AND_POPD if you want those commands to be compiled in.
34 (Also the `dirs' commands.) */
35#undef PUSHD_AND_POPD
36
37/* Define BRACE_EXPANSION if you want curly brace expansion a la Csh:
38 foo{a,b} -> fooa foob. Even if this is compiled in (the default) you
39 can turn it off at shell startup with `-nobraceexpansion', or during
40 shell execution with `set +o braceexpand'. */
41#undef BRACE_EXPANSION
42
43/* Define READLINE to get the nifty/glitzy editing features.
44 This is on by default. You can turn it off interactively
45 with the -nolineediting flag. */
46#undef READLINE
47
48/* Define BANG_HISTORY if you want to have Csh style "!" history expansion.
49 This is unrelated to READLINE. */
50#undef BANG_HISTORY
51
52/* Define HISTORY if you want to have access to previously typed commands.
53
54 If both HISTORY and READLINE are defined, you can get at the commands
55 with line editing commands, and you can directly manipulate the history
56 from the command line.
57
58 If only HISTORY is defined, the `fc' and `history' builtins are
59 available. */
60#undef HISTORY
61
62/* Define this if you want completion that puts all alternatives into
63 a brace expansion shell expression. */
64#if defined (BRACE_EXPANSION) && defined (READLINE)
65# define BRACE_COMPLETION
66#endif /* BRACE_EXPANSION */
67
68/* Define DEFAULT_ECHO_TO_XPG if you want the echo builtin to interpret
69 the backslash-escape characters by default, like the XPG Single Unix
70 Specification V2 for echo.
71 This requires that V9_ECHO be defined. */
72#undef DEFAULT_ECHO_TO_XPG
73
74/* Define HELP_BUILTIN if you want the `help' shell builtin and the long
75 documentation strings compiled into the shell. */
76#undef HELP_BUILTIN
77
78/* Define RESTRICTED_SHELL if you want the generated shell to have the
79 ability to be a restricted one. The shell thus generated can become
80 restricted by being run with the name "rbash", or by setting the -r
81 flag. */
82#undef RESTRICTED_SHELL
83
84/* Define DISABLED_BUILTINS if you want "builtin foo" to always run the
85 shell builtin "foo", even if it has been disabled with "enable -n foo". */
86#undef DISABLED_BUILTINS
87
88/* Define PROCESS_SUBSTITUTION if you want the K*rn shell-like process
89 substitution features "<(file)". */
90/* Right now, you cannot do this on machines without fully operational
91 FIFO support. This currently include NeXT and Alliant. */
92#undef PROCESS_SUBSTITUTION
93
94/* Define PROMPT_STRING_DECODE if you want the backslash-escaped special
95 characters in PS1 and PS2 expanded. Variable expansion will still be
96 performed. */
97#undef PROMPT_STRING_DECODE
98
99/* Define SELECT_COMMAND if you want the Korn-shell style `select' command:
100 select word in word_list; do command_list; done */
101#undef SELECT_COMMAND
102
103/* Define COMMAND_TIMING of you want the ksh-style `time' reserved word and
104 the ability to time pipelines, functions, and builtins. */
105#undef COMMAND_TIMING
106
107/* Define ARRAY_VARS if you want ksh-style one-dimensional array variables. */
108#undef ARRAY_VARS
109
110/* Define DPAREN_ARITHMETIC if you want the ksh-style ((...)) arithmetic
111 evaluation command. */
112#undef DPAREN_ARITHMETIC
113
114/* Define EXTENDED_GLOB if you want the ksh-style [*+@?!](patlist) extended
115 pattern matching. */
116#undef EXTENDED_GLOB
117
118/* Define COND_COMMAND if you want the ksh-style [[...]] conditional
119 command. */
120#undef COND_COMMAND
121
122/* Define COND_REGEXP if you want extended regular expression matching and the
123 =~ binary operator in the [[...]] conditional command. */
124#define COND_REGEXP
125
126/* Define ARITH_FOR_COMMAND if you want the ksh93-style
127 for (( init; test; step )) do list; done
128 arithmetic for command. */
129#undef ARITH_FOR_COMMAND
130
131/* Define NETWORK_REDIRECTIONS if you want /dev/(tcp|udp)/host/port to open
132 socket connections when used in redirections */
133#undef NETWORK_REDIRECTIONS
134
135/* Define PROGRAMMABLE_COMPLETION for the programmable completion features
136 and the complete builtin. */
137#undef PROGRAMMABLE_COMPLETION
138
139/* Define NO_MULTIBYTE_SUPPORT to not compile in support for multibyte
140 characters, even if the OS supports them. */
141#undef NO_MULTIBYTE_SUPPORT
142
143/* Define DEBUGGER if you want to compile in some features used only by the
144 bash debugger. */
145#undef DEBUGGER
146
147/* Define STRICT_POSIX if you want bash to be strictly posix.2 conformant by
148 default (except for echo; that is controlled separately). */
149#undef STRICT_POSIX
150
151/* Define MEMSCRAMBLE if you want the bash malloc and free to scramble
152 memory contents on malloc() and free(). */
153#undef MEMSCRAMBLE
154
155/* Define AFS if you are using Transarc's AFS. */
156#undef AFS
157
158#undef ENABLE_NLS
159
160/* End of configuration settings controllable by autoconf. */
161/* Other settable options appear in config-top.h. */
162
163#include "config-top.h"
164
165/* Beginning of autoconf additions. */
166
167/* Characteristics of the C compiler */
168#undef const
169
170#undef inline
171
172/* Define if cpp supports the ANSI-C stringizing `#' operator */
173#undef HAVE_STRINGIZE
174
175/* Define if the compiler supports `long double' variables. */
176#undef HAVE_LONG_DOUBLE
177
178#undef PROTOTYPES
179
180#undef __CHAR_UNSIGNED__
181
182/* Define if the compiler supports `long long' variables. */
183#undef HAVE_LONG_LONG
184
185#undef HAVE_UNSIGNED_LONG_LONG
186
187/* The number of bytes in a int. */
188#undef SIZEOF_INT
189
190/* The number of bytes in a long. */
191#undef SIZEOF_LONG
192
193/* The number of bytes in a pointer to char. */
194#undef SIZEOF_CHAR_P
195
196/* The number of bytes in a double (hopefully 8). */
197#undef SIZEOF_DOUBLE
198
199/* The number of bytes in a `long long', if we have one. */
200#undef SIZEOF_LONG_LONG
201
202/* System paths */
203
204#define DEFAULT_MAIL_DIRECTORY "/usr/spool/mail"
205
206/* Characteristics of the system's header files and libraries that affect
207 the compilation environment. */
208
209/* Define if the system does not provide POSIX.1 features except
210 with this defined. */
211#undef _POSIX_1_SOURCE
212
213/* Define if you need to in order for stat and other things to work. */
214#undef _POSIX_SOURCE
215
216/* Define to use GNU libc extensions */
217#undef _GNU_SOURCE
218
219/* Define if you have the ANSI C header files. */
220#undef STDC_HEADERS
221
222/* Memory management functions. */
223
224/* Define if using the bash version of malloc in lib/malloc/malloc.c */
225#undef USING_BASH_MALLOC
226
227#undef DISABLE_MALLOC_WRAPPERS
228
229/* Define if using alloca.c. */
230#undef C_ALLOCA
231
232/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
233 This function is required for alloca.c support on those systems. */
234#undef CRAY_STACKSEG_END
235
236/* Define if you have alloca, as a function or macro. */
237#undef HAVE_ALLOCA
238
239/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
240#undef HAVE_ALLOCA_H
241
242
243/* SYSTEM TYPES */
244
245/* Define to `long' if <sys/types.h> doesn't define. */
246#undef off_t
247
248/* Define to `int' if <sys/types.h> doesn't define. */
249#undef mode_t
250
251/* Define to `int' if <signal.h> doesn't define. */
252#undef sigset_t
253
254/* Define to `int' if <sys/types.h> doesn't define. */
255#undef pid_t
256
257/* Define to `short' if <sys/types.h> doesn't define. */
258#undef bits16_t
259
260/* Define to `unsigned short' if <sys/types.h> doesn't define. */
261#undef u_bits16_t
262
263/* Define to `int' if <sys/types.h> doesn't define. */
264#undef bits32_t
265
266/* Define to `unsigned int' if <sys/types.h> doesn't define. */
267#undef u_bits32_t
268
269/* Define to `double' if <sys/types.h> doesn't define. */
270#undef bits64_t
271
272/* Define to `unsigned int' if <sys/types.h> doesn't define. */
273#undef u_int
274
275/* Define to `unsigned long' if <sys/types.h> doesn't define. */
276#undef u_long
277
278/* Define to `int' if <sys/types.h> doesn't define. */
279#undef ptrdiff_t
280
281/* Define to `unsigned' if <sys/types.h> doesn't define. */
282#undef size_t
283
284/* Define to `int' if <sys/types.h> doesn't define. */
285#undef ssize_t
286
287/* Define to `long' if <stdint.h> doesn't define. */
288#undef intmax_t
289
290/* Define to `unsigned long' if <stdint.h> doesn't define. */
291#undef uintmax_t
292
293/* Define to `int' if <sys/types.h> doesn't define. */
294#undef uid_t
295
296/* Define to `long' if <sys/types.h> doesn't define. */
297#undef clock_t
298
299/* Define to `long' if <sys/types.h> doesn't define. */
300#undef time_t
301
302/* Define to `int' if <sys/types.h> doesn't define. */
303#undef gid_t
304
305/* Define to `unsigned int' if <sys/socket.h> doesn't define. */
306#undef socklen_t
307
308/* Define if you have quad_t in <sys/types.h>. */
309#undef HAVE_QUAD_T
310
311#undef RLIMTYPE
312
313/* Define to the type of elements in the array set by `getgroups'.
314 Usually this is either `int' or `gid_t'. */
315#undef GETGROUPS_T
316
317/* Characteristics of the machine archictecture. */
318
319/* If using the C implementation of alloca, define if you know the
320 direction of stack growth for your system; otherwise it will be
321 automatically deduced at run-time.
322 STACK_DIRECTION > 0 => grows toward higher addresses
323 STACK_DIRECTION < 0 => grows toward lower addresses
324 STACK_DIRECTION = 0 => direction of growth unknown
325 */
326#undef STACK_DIRECTION
327
328/* Define if the machine architecture is big-endian. */
329#undef WORDS_BIGENDIAN
330
331/* Check for the presence of certain non-function symbols in the system
332 libraries. */
333
334/* Define if `sys_siglist' is declared by <signal.h> or <unistd.h>. */
335#undef HAVE_DECL_SYS_SIGLIST
336#undef SYS_SIGLIST_DECLARED
337
338/* Define if `_sys_siglist' is declared by <signal.h> or <unistd.h>. */
339#undef UNDER_SYS_SIGLIST_DECLARED
340
341#undef HAVE_SYS_SIGLIST
342
343#undef HAVE_UNDER_SYS_SIGLIST
344
345#undef HAVE_SYS_ERRLIST
346
347#undef HAVE_TZNAME
348
349
350/* Characteristics of some of the system structures. */
351
352#undef HAVE_STRUCT_DIRENT_D_INO
353
354#undef HAVE_STRUCT_DIRENT_D_FILENO
355
356#undef HAVE_STRUCT_DIRENT_D_NAMLEN
357
358#undef TIOCSTAT_IN_SYS_IOCTL
359
360#undef FIONREAD_IN_SYS_IOCTL
361
362#undef GWINSZ_IN_SYS_IOCTL
363
364#undef STRUCT_WINSIZE_IN_SYS_IOCTL
365
366#undef TM_IN_SYS_TIME
367
368#undef STRUCT_WINSIZE_IN_TERMIOS
369
370#undef SPEED_T_IN_SYS_TYPES
371
372#undef TERMIOS_LDISC
373
374#undef TERMIO_LDISC
375
376#undef HAVE_STRUCT_STAT_ST_BLOCKS
377
378#undef HAVE_STRUCT_TM_TM_ZONE
379#undef HAVE_TM_ZONE
380
381#undef HAVE_TIMEVAL
382
383#undef HAVE_STRUCT_TIMEZONE