Imported from ../bash-2.02.tar.gz.
[platform/upstream/bash.git] / config.h.in
1 /* config.h -- Configuration file for bash. */
2
3 /* Copyright (C) 1987,1991 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 1, 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, 675 Mass Ave, Cambridge, MA 02139, USA. */
20
21 #ifndef _CONFIG_H_
22 #define _CONFIG_H_
23
24 /* Configuration 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_USG if you want the echo builtin to interpret
69    the backslash-escape characters by default, like the System V echo.
70    This requires that V9_ECHO be defined. */
71 #undef DEFAULT_ECHO_TO_USG
72
73 /* Define HELP_BUILTIN if you want the `help' shell builtin and the long
74    documentation strings compiled into the shell. */
75 #undef HELP_BUILTIN
76
77 /* Define RESTRICTED_SHELL if you want the generated shell to have the
78    ability to be a restricted one.  The shell thus generated can become
79    restricted by being run with the name "rbash", or by setting the -r
80    flag. */
81 #undef RESTRICTED_SHELL
82
83 /* Define DISABLED_BUILTINS if you want "builtin foo" to always run the
84    shell builtin "foo", even if it has been disabled with "enable -n foo". */
85 #undef DISABLED_BUILTINS
86
87 /* Define PROCESS_SUBSTITUTION if you want the K*rn shell-like process
88    substitution features "<(file)". */
89 /* Right now, you cannot do this on machines without fully operational
90    FIFO support.  This currently include NeXT and Alliant. */
91 #undef PROCESS_SUBSTITUTION
92
93 /* Define PROMPT_STRING_DECODE if you want the backslash-escaped special
94    characters in PS1 and PS2 expanded.  Variable expansion will still be
95    performed. */
96 #undef PROMPT_STRING_DECODE
97
98 /* Define SELECT_COMMAND if you want the Korn-shell style `select' command:
99         select word in word_list; do command_list; done */
100 #undef SELECT_COMMAND
101
102 /* Define COMMAND_TIMING of you want the ksh-style `time' reserved word and
103    the ability to time pipelines, functions, and builtins. */
104 #undef COMMAND_TIMING
105
106 /* Define ARRAY_VARS if you want ksh-style one-dimensional array variables. */
107 #undef ARRAY_VARS
108
109 /* Define DPAREN_ARITHMETIC if you want the ksh-style ((...)) arithmetic
110    evaluation command. */
111 #undef DPAREN_ARITHMETIC
112
113 /* Define EXTENDED_GLOB if you want the ksh-style [*+@?!](patlist) extended
114    pattern matching. */
115 #undef EXTENDED_GLOB
116
117 /* Define COND_COMMAND if you want the ksh-style [[...]] conditional
118    command. */
119 #undef COND_COMMAND
120
121 /* Define AFS if you are using Transarc's AFS. */
122 #undef AFS
123
124 /* End of configuration settings controllable by autoconf. */
125 /* Other settable options appear in config.h.top. */
126
127 #include "config.h.top"
128
129 /* Beginning of autoconf additions. */
130
131 /* Define if using alloca.c.  */
132 #undef C_ALLOCA
133
134 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
135    This function is required for alloca.c support on those systems.  */
136 #undef CRAY_STACKSEG_END
137
138 /* Define to the type of elements in the array set by `getgroups'.
139    Usually this is either `int' or `gid_t'.  */
140 #undef GETGROUPS_T
141
142 /* Define if the `getpgrp' function takes no argument.  */
143 #undef GETPGRP_VOID
144
145 /* Define to `int' if <sys/types.h> doesn't define.  */
146 #undef gid_t
147
148 /* Define if you have alloca, as a function or macro.  */
149 #undef HAVE_ALLOCA
150
151 /* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
152 #undef HAVE_ALLOCA_H
153
154 /* Define if you don't have vprintf but do have _doprnt.  */
155 #undef HAVE_DOPRNT
156
157 /* Define if system calls automatically restart after interruption
158    by a signal.  */
159 #undef HAVE_RESTARTABLE_SYSCALLS
160
161 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
162 #undef HAVE_SYS_WAIT_H
163
164 /* Define if you have <sys/time.h> */
165 #undef HAVE_SYS_TIME_H
166
167 #undef TIME_WITH_SYS_TIME
168
169 #undef HAVE_SYS_TIMES_H
170
171 /* Define if you have the vprintf function.  */
172 #undef HAVE_VPRINTF
173
174 #undef HAVE_WAIT3
175
176 #undef HAVE_SETOSTYPE
177
178 /* Define if on MINIX.  */
179 #undef _MINIX
180
181 /* The number of bytes in a int.  */
182 #undef SIZEOF_INT
183
184 /* The number of bytes in a long.  */
185 #undef SIZEOF_LONG
186
187 /* The number of bytes in a pointer to char.  */
188 #undef SIZEOF_CHAR_P
189
190 /* Define to `long' if <sys/types.h> doesn't define.  */
191 #undef off_t
192
193 /* Define to `int' if <sys/types.h> doesn't define. */
194 #undef mode_t
195
196 /* Define to `int' if <signal.h> doesn't define. */
197 #undef sigset_t
198
199 /* Define to `int' if <sys/types.h> doesn't define.  */
200 #undef pid_t
201
202 /* Define to `int' if <sys/types.h> doesn't define.  */
203 #undef int32_t
204
205 /* Define to `unsigned int' if <sys/types.h> doesn't define.  */
206 #undef u_int32_t
207
208 /* Define to `int' if <sys/types.h> doesn't define. */
209 #undef ptrdiff_t
210
211 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
212 #undef size_t
213
214 /* Define to `int' if <sys/types.h> doesn't define.  */
215 #undef uid_t
216
217 /* Define to `long' if <sys/types.h> doesn't define.  */
218 #undef clock_t
219
220 /* Define to `long' if <sys/types.h> doesn't define.  */
221 #undef time_t
222
223 /* Define if the system does not provide POSIX.1 features except
224    with this defined.  */
225 #undef _POSIX_1_SOURCE
226
227 /* Define if you need to in order for stat and other things to work.  */
228 #undef _POSIX_SOURCE
229
230 /* Define as the return type of signal handlers (int or void).  */
231 #undef RETSIGTYPE
232
233 /* Define if the setvbuf function takes the buffering type as its second
234    argument and the buffer pointer as the third, as on System V
235    before release 3.  */
236 #undef SETVBUF_REVERSED
237
238 /* If using the C implementation of alloca, define if you know the
239    direction of stack growth for your system; otherwise it will be
240    automatically deduced at run-time.
241         STACK_DIRECTION > 0 => grows toward higher addresses
242         STACK_DIRECTION < 0 => grows toward lower addresses
243         STACK_DIRECTION = 0 => direction of growth unknown
244  */
245 #undef STACK_DIRECTION
246
247 /* Define if you have the ANSI C header files.  */
248 #undef STDC_HEADERS
249
250 /* Define if `sys_siglist' is declared by <signal.h> or <unistd.h>.  */
251 #undef SYS_SIGLIST_DECLARED
252
253 /* Define if `_sys_siglist' is declared by <signal.h> or <unistd.h>.  */
254 #undef UNDER_SYS_SIGLIST_DECLARED
255
256 #undef DUP2_BROKEN
257
258 #undef HAVE_GETRLIMIT
259
260 #undef HAVE_GETRUSAGE
261
262 #undef HAVE_GETTIMEOFDAY
263
264 #undef GWINSZ_IN_SYS_IOCTL
265
266 #undef TIOCSTAT_IN_SYS_IOCTL
267
268 #undef FIONREAD_IN_SYS_IOCTL
269
270 #undef WORDS_BIGENDIAN
271
272 #undef HAVE_HASH_BANG_EXEC
273
274 #undef HAVE_BSD_SIGNALS
275
276 #undef HAVE_POSIX_SIGNALS
277
278 #undef HAVE_USG_SIGHOLD
279
280 #undef HAVE_DEV_FD
281
282 #undef DEV_FD_PREFIX
283
284 #undef HAVE_GETPW_DECLS
285
286 #undef HAVE_QUAD_T
287
288 #undef HAVE_RESOURCE
289
290 #undef HAVE_STRSIGNAL
291
292 #undef HAVE_SYS_ERRLIST
293
294 #undef STAT_MACROS_BROKEN
295
296 #undef HAVE_TIMEVAL
297
298 #undef HAVE_MEMMOVE
299
300 #undef HAVE_MKFIFO
301
302 #undef NAMED_PIPES_MISSING
303
304 #undef OPENDIR_NOT_ROBUST
305
306 #undef PGRP_PIPE
307
308 #undef RLIMTYPE
309
310 #undef SBRK_DECLARED
311
312 #undef PRINTF_DECLARED
313
314 #undef HAVE_SYS_SIGLIST
315
316 #undef HAVE_TIMES
317
318 #undef HAVE_UNDER_SYS_SIGLIST
319
320 #undef VOID_SIGHANDLER
321
322 #undef TERMIOS_LDISC
323
324 #undef TERMIO_LDISC
325
326 #undef ULIMIT_MAXFDS
327
328 #undef GETCWD_BROKEN
329
330 #undef STRUCT_DIRENT_HAS_D_INO
331
332 #undef STRUCT_DIRENT_HAS_D_FILENO
333
334 #undef STRUCT_WINSIZE_IN_SYS_IOCTL
335
336 #undef STRUCT_WINSIZE_IN_TERMIOS
337
338 #undef SPEED_T_IN_SYS_TYPES
339
340 #undef CAN_REDEFINE_GETENV
341
342 #undef MUST_REINSTALL_SIGHANDLERS
343
344 #undef JOB_CONTROL_MISSING
345
346 #undef HAVE_POSIX_SIGSETJMP
347
348 #define DEFAULT_MAIL_DIRECTORY "/usr/spool/mail"
349
350 /* Define if you have the bcopy function.  */
351 #undef HAVE_BCOPY
352
353 /* Define if you have the bzero function.  */
354 #undef HAVE_BZERO
355
356 /* Define if you have the confstr function.  */
357 #undef HAVE_CONFSTR
358
359 /* Define if you have the dlclose function.  */
360 #undef HAVE_DLCLOSE
361
362 /* Define if you have the dlopen function.  */
363 #undef HAVE_DLOPEN
364
365 /* Define if you have the dlsym function.  */
366 #undef HAVE_DLSYM
367
368 /* Define if you have the dup2 function.  */
369 #undef HAVE_DUP2
370
371 /* Define if you have the getcwd function.  */
372 #undef HAVE_GETCWD
373
374 /* Define if you have the getdtablesize function.  */
375 #undef HAVE_GETDTABLESIZE
376
377 /* Define if you have the getgroups function.  */
378 #undef HAVE_GETGROUPS
379
380 /* Define if you have the gethostname function.  */
381 #undef HAVE_GETHOSTNAME
382
383 /* Define if you have the getpagesize function.  */
384 #undef HAVE_GETPAGESIZE
385
386 /* Define if you have the getpeername function.  */
387 #undef HAVE_GETPEERNAME
388
389 /* Define if you have the getwd function.  */
390 #undef HAVE_GETWD
391
392 /* Define if you have the killpg function.  */
393 #undef HAVE_KILLPG
394
395 #undef HAVE_LSTAT
396
397 /* Define if you have the putenv function.  */
398 #undef HAVE_PUTENV
399
400 /* Define if you have the select function.  */
401 #undef HAVE_SELECT
402
403 /* Define if you have the setdtablesize function.  */
404 #undef HAVE_SETDTABLESIZE
405
406 /* Define if you have the setenv function.  */
407 #undef HAVE_SETENV
408
409 /* Define if you have the setlinebuf function.  */
410 #undef HAVE_SETLINEBUF
411
412 /* Define if you have the setlocale function.  */
413 #undef HAVE_SETLOCALE
414
415 #undef HAVE_SIGINTERRUPT
416
417 /* Define if you have the strcasecmp function.  */
418 #undef HAVE_STRCASECMP
419
420 /* Define if you have the strchr function.  */
421 #undef HAVE_STRCHR
422
423 /* Define if you have the strerror function.  */
424 #undef HAVE_STRERROR
425
426 /* Define if you have the strtod function. */
427 #undef HAVE_STRTOD
428
429 /* Define if you have the strtol function. */
430 #undef HAVE_STRTOL
431
432 /* Define if you have the strtoul function. */
433 #undef HAVE_STRTOUL
434
435 /* Define if you have the tcgetattr function.  */
436 #undef HAVE_TCGETATTR
437
438 /* Define if you have the sysconf function. */
439 #undef HAVE_SYSCONF
440
441 /* Define if you have the uname function. */
442 #undef HAVE_UNAME
443
444 /* Define if you have the ulimit function. */
445 #undef HAVE_ULIMIT
446
447 #undef HAVE_WAITPID
448
449 #undef HAVE_TCGETPGRP
450
451 #undef HAVE_GETTEXT
452
453 #undef HAVE_TEXTDOMAIN
454
455 #undef HAVE_BINDTEXTDOMAIN
456
457 #undef HAVE_STRCOLL
458
459 #undef HAVE_TZSET
460
461 /* Define if you have the <dirent.h> header file.  */
462 #undef HAVE_DIRENT_H
463
464 /* Define if you have the <dlfcn.h> header file.  */
465 #undef HAVE_DLFCN_H
466
467 /* Define if you have the <limits.h> header file.  */
468 #undef HAVE_LIMITS_H
469
470 /* Define if you have the <locale.h> header file.  */
471 #undef HAVE_LOCALE_H
472
473 /* Define if you have the <ndir.h> header file.  */
474 #undef HAVE_NDIR_H
475
476 /* Define if you have the <stdlib.h> header file.  */
477 #undef HAVE_STDLIB_H
478
479 /* Define if you have the <stdarg.h> header file.  */
480 #undef HAVE_STDARG_H
481
482 /* Define if you have the <string.h> header file.  */
483 #undef HAVE_STRING_H
484
485 /* Define if you have the <memory.h> header file.  */
486 #undef HAVE_MEMORY_H
487
488 /* Define if you have the <sys/dir.h> header file.  */
489 #undef HAVE_SYS_DIR_H
490
491 /* Define if you have the <sys/file.h> header file.  */
492 #undef HAVE_SYS_FILE_H
493
494 /* Define if you have the <sys/ndir.h> header file.  */
495 #undef HAVE_SYS_NDIR_H
496
497 /* Define if you have the <sys/param.h> header file.  */
498 #undef HAVE_SYS_PARAM_H
499
500 /* Define if you have the <sys/pte.h> header file.  */
501 #undef HAVE_SYS_PTE_H
502
503 /* Define if you have the <sys/ptem.h> header file.  */
504 #undef HAVE_SYS_PTEM_H
505
506 /* Define if you have the <sys/resource.h> header file.  */
507 #undef HAVE_SYS_RESOURCE_H
508
509 /* Define if you have the <sys/select.h> header file.  */
510 #undef HAVE_SYS_SELECT_H
511
512 /* Define if you have the <sys/socket.h> header file.  */
513 #undef HAVE_SYS_SOCKET_H
514
515 /* Define if you have the <sys/stream.h> header file.  */
516 #undef HAVE_SYS_STREAM_H
517
518 /* Define if you have the <termcap.h> header file.  */
519 #undef HAVE_TERMCAP_H
520
521 /* Define if you have the <termio.h> header file.  */
522 #undef HAVE_TERMIO_H
523
524 /* Define if you have the <termios.h> header file.  */
525 #undef HAVE_TERMIOS_H
526
527 /* Define if you have the <unistd.h> header file.  */
528 #undef HAVE_UNISTD_H
529
530 /* Define if you have the <varargs.h> header file.  */
531 #undef HAVE_VARARGS_H
532
533 /* Define if you have the <libintl.h> header file. */
534 #undef HAVE_LIBINTL_H
535
536 /* Define if you have the <stddef.h> header file. */
537 #undef HAVE_STDDEF_H
538
539 #undef HAVE_LIBDL
540
541 #undef HAVE_LIBSUN
542
543 #undef HAVE_LIBSOCKET
544
545 /* Are we running SVR4.2? */
546 #undef SVR4_2
547
548 /* Are we running some version of SVR4? */
549 #undef SVR4
550
551 /* Do we need to define _KERNEL to get the RLIMIT_* defines from
552    <sys/resource.h>? */
553 #undef RLIMIT_NEEDS_KERNEL
554
555 /* Do strcoll(3) and strcmp(3) give different results in the default locale? */
556 #undef STRCOLL_BROKEN
557
558 #include "config.h.bot"
559
560 #endif /* _CONFIG_H_ */