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