Imported from ../bash-2.04.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 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 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 ARITH_FOR_COMMAND if you want the ksh93-style
123         for (( init; test; step )) do list; done
124    arithmetic for command. */
125 #undef ARITH_FOR_COMMAND
126
127 /* Define NETWORK_REDIRECTIONS if you want /dev/(tcp|udp)/host/port to open
128    socket connections when used in redirections */
129 #undef NETWORK_REDIRECTIONS
130
131 /* Define PROGRAMMABLE_COMPLETION for the programmable completion features
132    and the complete builtin. */
133 #undef PROGRAMMABLE_COMPLETION
134
135 /* Define AFS if you are using Transarc's AFS. */
136 #undef AFS
137
138 /* End of configuration settings controllable by autoconf. */
139 /* Other settable options appear in config-top.h. */
140
141 #include "config-top.h"
142
143 /* Beginning of autoconf additions. */
144
145 /* Define if using the bash version of malloc in lib/malloc/malloc.c */
146 #undef USING_BASH_MALLOC
147
148 /* Define if using alloca.c.  */
149 #undef C_ALLOCA
150
151 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
152    This function is required for alloca.c support on those systems.  */
153 #undef CRAY_STACKSEG_END
154
155 /* Define to the type of elements in the array set by `getgroups'.
156    Usually this is either `int' or `gid_t'.  */
157 #undef GETGROUPS_T
158
159 /* Define if the `getpgrp' function takes no argument.  */
160 #undef GETPGRP_VOID
161
162 /* Define to `int' if <sys/types.h> doesn't define.  */
163 #undef gid_t
164
165 /* Define if you have alloca, as a function or macro.  */
166 #undef HAVE_ALLOCA
167
168 /* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
169 #undef HAVE_ALLOCA_H
170
171 /* Define if you don't have vprintf but do have _doprnt.  */
172 #undef HAVE_DOPRNT
173
174 /* Define if system calls automatically restart after interruption
175    by a signal.  */
176 #undef HAVE_RESTARTABLE_SYSCALLS
177
178 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
179 #undef HAVE_SYS_WAIT_H
180
181 /* Define if you have <sys/time.h> */
182 #undef HAVE_SYS_TIME_H
183
184 #undef TIME_WITH_SYS_TIME
185
186 #undef HAVE_SYS_TIMES_H
187
188 /* Define if you have the vprintf function.  */
189 #undef HAVE_VPRINTF
190
191 #undef HAVE_WAIT3
192
193 #undef HAVE_SETOSTYPE
194
195 /* Define if on MINIX.  */
196 #undef _MINIX
197
198 /* The number of bytes in a int.  */
199 #undef SIZEOF_INT
200
201 /* The number of bytes in a long.  */
202 #undef SIZEOF_LONG
203
204 /* The number of bytes in a pointer to char.  */
205 #undef SIZEOF_CHAR_P
206
207 /* The number of bytes in a double (hopefully 8). */
208 #undef SIZEOF_DOUBLE
209
210 /* Define to `long' if <sys/types.h> doesn't define.  */
211 #undef off_t
212
213 /* Define to `int' if <sys/types.h> doesn't define. */
214 #undef mode_t
215
216 /* Define to `int' if <signal.h> doesn't define. */
217 #undef sigset_t
218
219 /* Define to `int' if <sys/types.h> doesn't define.  */
220 #undef pid_t
221
222 /* Define to `short' if <sys/types.h> doesn't define.  */
223 #undef bits16_t
224
225 /* Define to `unsigned short' if <sys/types.h> doesn't define.  */
226 #undef u_bits16_t
227
228 /* Define to `int' if <sys/types.h> doesn't define.  */
229 #undef bits32_t
230
231 /* Define to `unsigned int' if <sys/types.h> doesn't define.  */
232 #undef u_bits32_t
233
234 /* Define to `double' if <sys/types.h> doesn't define. */
235 #undef bits64_t
236
237 /* Define to `int' if <sys/types.h> doesn't define. */
238 #undef ptrdiff_t
239
240 /* Define to `unsigned int' if <sys/types.h> doesn't define. */
241 #undef u_int
242
243 /* Define to `unsigned long' if <sys/types.h> doesn't define.  */
244 #undef u_long
245
246 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
247 #undef size_t
248
249 /* Define to `int' if <sys/types.h> doesn't define.  */
250 #undef uid_t
251
252 /* Define to `long' if <sys/types.h> doesn't define.  */
253 #undef clock_t
254
255 /* Define to `long' if <sys/types.h> doesn't define.  */
256 #undef time_t
257
258 /* Define if the system does not provide POSIX.1 features except
259    with this defined.  */
260 #undef _POSIX_1_SOURCE
261
262 /* Define if you need to in order for stat and other things to work.  */
263 #undef _POSIX_SOURCE
264
265 /* Define as the return type of signal handlers (int or void).  */
266 #undef RETSIGTYPE
267
268 /* Define if the setvbuf function takes the buffering type as its second
269    argument and the buffer pointer as the third, as on System V
270    before release 3.  */
271 #undef SETVBUF_REVERSED
272
273 /* If using the C implementation of alloca, define if you know the
274    direction of stack growth for your system; otherwise it will be
275    automatically deduced at run-time.
276         STACK_DIRECTION > 0 => grows toward higher addresses
277         STACK_DIRECTION < 0 => grows toward lower addresses
278         STACK_DIRECTION = 0 => direction of growth unknown
279  */
280 #undef STACK_DIRECTION
281
282 /* Define if you have the ANSI C header files.  */
283 #undef STDC_HEADERS
284
285 /* Define if `sys_siglist' is declared by <signal.h> or <unistd.h>.  */
286 #undef SYS_SIGLIST_DECLARED
287
288 /* Define if `_sys_siglist' is declared by <signal.h> or <unistd.h>.  */
289 #undef UNDER_SYS_SIGLIST_DECLARED
290
291 #undef DUP2_BROKEN
292
293 #undef HAVE_GETHOSTBYNAME
294
295 #undef HAVE_INET_ATON
296
297 #undef HAVE_GETRLIMIT
298
299 #undef HAVE_GETRUSAGE
300
301 #undef HAVE_GETTIMEOFDAY
302
303 #undef GWINSZ_IN_SYS_IOCTL
304
305 #undef TIOCSTAT_IN_SYS_IOCTL
306
307 #undef FIONREAD_IN_SYS_IOCTL
308
309 #undef WORDS_BIGENDIAN
310
311 #undef HAVE_HASH_BANG_EXEC
312
313 #undef HAVE_BSD_SIGNALS
314
315 #undef HAVE_POSIX_SIGNALS
316
317 #undef HAVE_USG_SIGHOLD
318
319 #undef HAVE_DEV_FD
320
321 #undef DEV_FD_PREFIX
322
323 #undef HAVE_DEV_STDIN
324
325 #undef HAVE_GETPW_DECLS
326
327 #undef HAVE_QUAD_T
328
329 #undef HAVE_RESOURCE
330
331 #undef HAVE_STRSIGNAL
332
333 #undef HAVE_SYS_ERRLIST
334
335 #undef STAT_MACROS_BROKEN
336
337 #undef HAVE_TIMEVAL
338
339 #undef HAVE_MEMMOVE
340
341 #undef HAVE_MKFIFO
342
343 #undef NAMED_PIPES_MISSING
344
345 #undef OPENDIR_NOT_ROBUST
346
347 #undef PGRP_PIPE
348
349 #undef RLIMTYPE
350
351 #undef SBRK_DECLARED
352
353 #undef PRINTF_DECLARED
354
355 #undef HAVE_SYS_SIGLIST
356
357 #undef HAVE_TIMES
358
359 #undef HAVE_UNDER_SYS_SIGLIST
360
361 #undef VOID_SIGHANDLER
362
363 #undef TERMIOS_LDISC
364
365 #undef TERMIO_LDISC
366
367 #undef ULIMIT_MAXFDS
368
369 #undef GETCWD_BROKEN
370
371 #undef STRUCT_DIRENT_HAS_D_INO
372
373 #undef STRUCT_DIRENT_HAS_D_FILENO
374
375 #undef STRUCT_WINSIZE_IN_SYS_IOCTL
376
377 #undef STRUCT_WINSIZE_IN_TERMIOS
378
379 #undef SPEED_T_IN_SYS_TYPES
380
381 #undef CAN_REDEFINE_GETENV
382
383 #undef MUST_REINSTALL_SIGHANDLERS
384
385 #undef JOB_CONTROL_MISSING
386
387 #undef HAVE_POSIX_SIGSETJMP
388
389 #define DEFAULT_MAIL_DIRECTORY "/usr/spool/mail"
390
391 /* Define if you have the bcopy function.  */
392 #undef HAVE_BCOPY
393
394 /* Define if you have the bzero function.  */
395 #undef HAVE_BZERO
396
397 /* Define if you have the confstr function.  */
398 #undef HAVE_CONFSTR
399
400 /* Define if you have the dlclose function.  */
401 #undef HAVE_DLCLOSE
402
403 /* Define if you have the dlopen function.  */
404 #undef HAVE_DLOPEN
405
406 /* Define if you have the dlsym function.  */
407 #undef HAVE_DLSYM
408
409 /* Define if you have the dup2 function.  */
410 #undef HAVE_DUP2
411
412 /* Define if you have the getcwd function.  */
413 #undef HAVE_GETCWD
414
415 /* Define if you have the getdtablesize function.  */
416 #undef HAVE_GETDTABLESIZE
417
418 /* Define if you have the getgroups function.  */
419 #undef HAVE_GETGROUPS
420
421 /* Define if you have the gethostname function.  */
422 #undef HAVE_GETHOSTNAME
423
424 /* Define if you have the getpagesize function.  */
425 #undef HAVE_GETPAGESIZE
426
427 /* Define if you have the getpeername function.  */
428 #undef HAVE_GETPEERNAME
429
430 /* Define if you have the getwd function.  */
431 #undef HAVE_GETWD
432
433 /* Define if you have the killpg function.  */
434 #undef HAVE_KILLPG
435
436 /* Define if you have the lstat function. */
437 #undef HAVE_LSTAT
438
439 /* Define if you have the putenv function.  */
440 #undef HAVE_PUTENV
441
442 /* Define if you have the rename function. */
443 #undef HAVE_RENAME
444
445 /* Define if you have the sbrk function. */
446 #undef HAVE_SBRK
447
448 /* Define if you have the select function.  */
449 #undef HAVE_SELECT
450
451 /* Define if you have the setdtablesize function.  */
452 #undef HAVE_SETDTABLESIZE
453
454 /* Define if you have the setenv function.  */
455 #undef HAVE_SETENV
456
457 /* Define if you have the setlinebuf function.  */
458 #undef HAVE_SETLINEBUF
459
460 /* Define if you have the setlocale function.  */
461 #undef HAVE_SETLOCALE
462
463 /* Define if you have the setvbuf function.  */
464 #undef HAVE_SETVBUF
465
466 /* Define if you have the siginterrupt function.  */
467 #undef HAVE_SIGINTERRUPT
468
469 /* Define if you have the strcasecmp function.  */
470 #undef HAVE_STRCASECMP
471
472 /* Define if you have the strchr function.  */
473 #undef HAVE_STRCHR
474
475 /* Define if you have the strerror function.  */
476 #undef HAVE_STRERROR
477
478 /* Define if you have the strpbrk function. */
479 #undef HAVE_STRPBRK
480
481 /* Define if you have the strtod function. */
482 #undef HAVE_STRTOD
483
484 /* Define if you have the strtol function. */
485 #undef HAVE_STRTOL
486
487 /* Define if you have the strtoul function. */
488 #undef HAVE_STRTOUL
489
490 /* Define if you have the tcgetattr function.  */
491 #undef HAVE_TCGETATTR
492
493 /* Define if you have the sysconf function. */
494 #undef HAVE_SYSCONF
495
496 /* Define if you have the uname function. */
497 #undef HAVE_UNAME
498
499 /* Define if you have the ulimit function. */
500 #undef HAVE_ULIMIT
501
502 #undef HAVE_TTYNAME
503
504 #undef HAVE_WAITPID
505
506 #undef HAVE_TCGETPGRP
507
508 #undef HAVE_GETTEXT
509
510 #undef HAVE_TEXTDOMAIN
511
512 #undef HAVE_BINDTEXTDOMAIN
513
514 #undef HAVE_STRCOLL
515
516 #undef HAVE_TZSET
517
518 /* Define if you have the <dirent.h> header file.  */
519 #undef HAVE_DIRENT_H
520
521 /* Define if you have the <dlfcn.h> header file.  */
522 #undef HAVE_DLFCN_H
523
524 /* Define if you have the <limits.h> header file.  */
525 #undef HAVE_LIMITS_H
526
527 /* Define if you have the <locale.h> header file.  */
528 #undef HAVE_LOCALE_H
529
530 /* Define if you have the <ndir.h> header file.  */
531 #undef HAVE_NDIR_H
532
533 /* Define if you have the <stdlib.h> header file.  */
534 #undef HAVE_STDLIB_H
535
536 /* Define if you have the <stdarg.h> header file.  */
537 #undef HAVE_STDARG_H
538
539 /* Define if you have the <string.h> header file.  */
540 #undef HAVE_STRING_H
541
542 /* Define if you have the <memory.h> header file.  */
543 #undef HAVE_MEMORY_H
544
545 /* Define if you have the <sys/dir.h> header file.  */
546 #undef HAVE_SYS_DIR_H
547
548 /* Define if you have the <sys/file.h> header file.  */
549 #undef HAVE_SYS_FILE_H
550
551 /* Define if you have the <sys/ndir.h> header file.  */
552 #undef HAVE_SYS_NDIR_H
553
554 /* Define if you have the <sys/param.h> header file.  */
555 #undef HAVE_SYS_PARAM_H
556
557 /* Define if you have the <sys/pte.h> header file.  */
558 #undef HAVE_SYS_PTE_H
559
560 /* Define if you have the <sys/ptem.h> header file.  */
561 #undef HAVE_SYS_PTEM_H
562
563 /* Define if you have the <sys/resource.h> header file.  */
564 #undef HAVE_SYS_RESOURCE_H
565
566 /* Define if you have the <sys/select.h> header file.  */
567 #undef HAVE_SYS_SELECT_H
568
569 /* Define if you have the <sys/socket.h> header file.  */
570 #undef HAVE_SYS_SOCKET_H
571
572 /* Define if you have the <sys/stream.h> header file.  */
573 #undef HAVE_SYS_STREAM_H
574
575 /* Define if you have the <termcap.h> header file.  */
576 #undef HAVE_TERMCAP_H
577
578 /* Define if you have the <termio.h> header file.  */
579 #undef HAVE_TERMIO_H
580
581 /* Define if you have the <termios.h> header file.  */
582 #undef HAVE_TERMIOS_H
583
584 /* Define if you have the <unistd.h> header file.  */
585 #undef HAVE_UNISTD_H
586
587 /* Define if you have the <varargs.h> header file.  */
588 #undef HAVE_VARARGS_H
589
590 /* Define if you have the <libintl.h> header file. */
591 #undef HAVE_LIBINTL_H
592
593 /* Define if you have the <stddef.h> header file. */
594 #undef HAVE_STDDEF_H
595
596 /* Define if you have the <netdh.h> header file. */
597 #undef HAVE_NETDB_H
598
599 /* Define if you have the <netinet/in.h> header file. */
600 #undef HAVE_NETINET_IN_H
601
602 /* Define if you have the <arpa/inet.h> header file. */
603 #undef HAVE_ARPA_INET_H
604
605 #undef HAVE_LIBDL
606
607 #undef HAVE_LIBSUN
608
609 #undef HAVE_LIBSOCKET
610
611 /* Are we running SVR5 (UnixWare 7)? */
612 #undef SVR5
613
614 /* Are we running SVR4.2? */
615 #undef SVR4_2
616
617 /* Are we running some version of SVR4? */
618 #undef SVR4
619
620 /* Do we need to define _KERNEL to get the RLIMIT_* defines from
621    <sys/resource.h>? */
622 #undef RLIMIT_NEEDS_KERNEL
623
624 /* Do strcoll(3) and strcmp(3) give different results in the default locale? */
625 #undef STRCOLL_BROKEN
626
627 #include "config-bot.h"
628
629 #endif /* _CONFIG_H_ */