1 /* config.h -- Configuration file for bash. */
3 /* Copyright (C) 1987,1991 Free Software Foundation, Inc.
5 This file is part of GNU Bash, the Bourne Again SHell.
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)
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.
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. */
24 /* Configuration settings controllable by autoconf. */
26 /* Define JOB_CONTROL if your operating system supports
27 BSD-like job control. */
30 /* Define ALIAS if you want the alias features. */
33 /* Define PUSHD_AND_POPD if you want those commands to be compiled in.
34 (Also the `dirs' commands.) */
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
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. */
48 /* Define BANG_HISTORY if you want to have Csh style "!" history expansion.
49 This is unrelated to READLINE. */
52 /* Define HISTORY if you want to have access to previously typed commands.
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.
58 If only HISTORY is defined, the `fc' and `history' builtins are
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 */
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
73 /* Define HELP_BUILTIN if you want the `help' shell builtin and the long
74 documentation strings compiled into the shell. */
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
81 #undef RESTRICTED_SHELL
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
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
93 /* Define PROMPT_STRING_DECODE if you want the backslash-escaped special
94 characters in PS1 and PS2 expanded. Variable expansion will still be
96 #undef PROMPT_STRING_DECODE
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
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
106 /* Define ARRAY_VARS if you want ksh-style one-dimensional array variables. */
109 /* Define DPAREN_ARITHMETIC if you want the ksh-style ((...)) arithmetic
110 evaluation command. */
111 #undef DPAREN_ARITHMETIC
113 /* Define EXTENDED_GLOB if you want the ksh-style [*+@?!](patlist) extended
117 /* Define COND_COMMAND if you want the ksh-style [[...]] conditional
121 /* Define AFS if you are using Transarc's AFS. */
124 /* End of configuration settings controllable by autoconf. */
125 /* Other settable options appear in config-top.h. */
127 #include "config-top.h"
129 /* Beginning of autoconf additions. */
131 /* Define if using alloca.c. */
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
138 /* Define to the type of elements in the array set by `getgroups'.
139 Usually this is either `int' or `gid_t'. */
142 /* Define if the `getpgrp' function takes no argument. */
145 /* Define to `int' if <sys/types.h> doesn't define. */
148 /* Define if you have alloca, as a function or macro. */
151 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
154 /* Define if you don't have vprintf but do have _doprnt. */
157 /* Define if system calls automatically restart after interruption
159 #undef HAVE_RESTARTABLE_SYSCALLS
161 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
162 #undef HAVE_SYS_WAIT_H
164 /* Define if you have <sys/time.h> */
165 #undef HAVE_SYS_TIME_H
167 #undef TIME_WITH_SYS_TIME
169 #undef HAVE_SYS_TIMES_H
171 /* Define if you have the vprintf function. */
176 #undef HAVE_SETOSTYPE
178 /* Define if on MINIX. */
181 /* The number of bytes in a int. */
184 /* The number of bytes in a long. */
187 /* The number of bytes in a pointer to char. */
190 /* The number of bytes in a double (hopefully 8). */
193 /* Define to `long' if <sys/types.h> doesn't define. */
196 /* Define to `int' if <sys/types.h> doesn't define. */
199 /* Define to `int' if <signal.h> doesn't define. */
202 /* Define to `int' if <sys/types.h> doesn't define. */
205 /* Define to `int' if <sys/types.h> doesn't define. */
208 /* Define to `unsigned int' if <sys/types.h> doesn't define. */
211 /* Define to `int' if <sys/types.h> doesn't define. */
214 /* Define to `double' if <sys/types.h> doesn't define. */
217 /* Define to `unsigned' if <sys/types.h> doesn't define. */
220 /* Define to `int' if <sys/types.h> doesn't define. */
223 /* Define to `long' if <sys/types.h> doesn't define. */
226 /* Define to `long' if <sys/types.h> doesn't define. */
229 /* Define if the system does not provide POSIX.1 features except
230 with this defined. */
231 #undef _POSIX_1_SOURCE
233 /* Define if you need to in order for stat and other things to work. */
236 /* Define as the return type of signal handlers (int or void). */
239 /* Define if the setvbuf function takes the buffering type as its second
240 argument and the buffer pointer as the third, as on System V
242 #undef SETVBUF_REVERSED
244 /* If using the C implementation of alloca, define if you know the
245 direction of stack growth for your system; otherwise it will be
246 automatically deduced at run-time.
247 STACK_DIRECTION > 0 => grows toward higher addresses
248 STACK_DIRECTION < 0 => grows toward lower addresses
249 STACK_DIRECTION = 0 => direction of growth unknown
251 #undef STACK_DIRECTION
253 /* Define if you have the ANSI C header files. */
256 /* Define if `sys_siglist' is declared by <signal.h> or <unistd.h>. */
257 #undef SYS_SIGLIST_DECLARED
259 /* Define if `_sys_siglist' is declared by <signal.h> or <unistd.h>. */
260 #undef UNDER_SYS_SIGLIST_DECLARED
264 #undef HAVE_GETRLIMIT
266 #undef HAVE_GETRUSAGE
268 #undef HAVE_GETTIMEOFDAY
270 #undef GWINSZ_IN_SYS_IOCTL
272 #undef TIOCSTAT_IN_SYS_IOCTL
274 #undef FIONREAD_IN_SYS_IOCTL
276 #undef WORDS_BIGENDIAN
278 #undef HAVE_HASH_BANG_EXEC
280 #undef HAVE_BSD_SIGNALS
282 #undef HAVE_POSIX_SIGNALS
284 #undef HAVE_USG_SIGHOLD
290 #undef HAVE_GETPW_DECLS
296 #undef HAVE_STRSIGNAL
298 #undef HAVE_SYS_ERRLIST
300 #undef STAT_MACROS_BROKEN
308 #undef NAMED_PIPES_MISSING
310 #undef OPENDIR_NOT_ROBUST
318 #undef PRINTF_DECLARED
320 #undef HAVE_SYS_SIGLIST
324 #undef HAVE_UNDER_SYS_SIGLIST
326 #undef VOID_SIGHANDLER
336 #undef STRUCT_DIRENT_HAS_D_INO
338 #undef STRUCT_DIRENT_HAS_D_FILENO
340 #undef STRUCT_WINSIZE_IN_SYS_IOCTL
342 #undef STRUCT_WINSIZE_IN_TERMIOS
344 #undef SPEED_T_IN_SYS_TYPES
346 #undef CAN_REDEFINE_GETENV
348 #undef MUST_REINSTALL_SIGHANDLERS
350 #undef JOB_CONTROL_MISSING
352 #undef HAVE_POSIX_SIGSETJMP
354 #define DEFAULT_MAIL_DIRECTORY "/usr/spool/mail"
356 /* Define if you have the bcopy function. */
359 /* Define if you have the bzero function. */
362 /* Define if you have the confstr function. */
365 /* Define if you have the dlclose function. */
368 /* Define if you have the dlopen function. */
371 /* Define if you have the dlsym function. */
374 /* Define if you have the dup2 function. */
377 /* Define if you have the getcwd function. */
380 /* Define if you have the getdtablesize function. */
381 #undef HAVE_GETDTABLESIZE
383 /* Define if you have the getgroups function. */
384 #undef HAVE_GETGROUPS
386 /* Define if you have the gethostname function. */
387 #undef HAVE_GETHOSTNAME
389 /* Define if you have the getpagesize function. */
390 #undef HAVE_GETPAGESIZE
392 /* Define if you have the getpeername function. */
393 #undef HAVE_GETPEERNAME
395 /* Define if you have the getwd function. */
398 /* Define if you have the killpg function. */
401 /* Define if you have the lstat function. */
404 /* Define if you have the putenv function. */
407 /* Define if you have the rename function. */
410 /* Define if you have the sbrk function. */
413 /* Define if you have the select function. */
416 /* Define if you have the setdtablesize function. */
417 #undef HAVE_SETDTABLESIZE
419 /* Define if you have the setenv function. */
422 /* Define if you have the setlinebuf function. */
423 #undef HAVE_SETLINEBUF
425 /* Define if you have the setlocale function. */
426 #undef HAVE_SETLOCALE
428 #undef HAVE_SIGINTERRUPT
430 /* Define if you have the strcasecmp function. */
431 #undef HAVE_STRCASECMP
433 /* Define if you have the strchr function. */
436 /* Define if you have the strerror function. */
439 /* Define if you have the strtod function. */
442 /* Define if you have the strtol function. */
445 /* Define if you have the strtoul function. */
448 /* Define if you have the tcgetattr function. */
449 #undef HAVE_TCGETATTR
451 /* Define if you have the sysconf function. */
454 /* Define if you have the uname function. */
457 /* Define if you have the ulimit function. */
462 #undef HAVE_TCGETPGRP
466 #undef HAVE_TEXTDOMAIN
468 #undef HAVE_BINDTEXTDOMAIN
474 /* Define if you have the <dirent.h> header file. */
477 /* Define if you have the <dlfcn.h> header file. */
480 /* Define if you have the <limits.h> header file. */
483 /* Define if you have the <locale.h> header file. */
486 /* Define if you have the <ndir.h> header file. */
489 /* Define if you have the <stdlib.h> header file. */
492 /* Define if you have the <stdarg.h> header file. */
495 /* Define if you have the <string.h> header file. */
498 /* Define if you have the <memory.h> header file. */
501 /* Define if you have the <sys/dir.h> header file. */
502 #undef HAVE_SYS_DIR_H
504 /* Define if you have the <sys/file.h> header file. */
505 #undef HAVE_SYS_FILE_H
507 /* Define if you have the <sys/ndir.h> header file. */
508 #undef HAVE_SYS_NDIR_H
510 /* Define if you have the <sys/param.h> header file. */
511 #undef HAVE_SYS_PARAM_H
513 /* Define if you have the <sys/pte.h> header file. */
514 #undef HAVE_SYS_PTE_H
516 /* Define if you have the <sys/ptem.h> header file. */
517 #undef HAVE_SYS_PTEM_H
519 /* Define if you have the <sys/resource.h> header file. */
520 #undef HAVE_SYS_RESOURCE_H
522 /* Define if you have the <sys/select.h> header file. */
523 #undef HAVE_SYS_SELECT_H
525 /* Define if you have the <sys/socket.h> header file. */
526 #undef HAVE_SYS_SOCKET_H
528 /* Define if you have the <sys/stream.h> header file. */
529 #undef HAVE_SYS_STREAM_H
531 /* Define if you have the <termcap.h> header file. */
532 #undef HAVE_TERMCAP_H
534 /* Define if you have the <termio.h> header file. */
537 /* Define if you have the <termios.h> header file. */
538 #undef HAVE_TERMIOS_H
540 /* Define if you have the <unistd.h> header file. */
543 /* Define if you have the <varargs.h> header file. */
544 #undef HAVE_VARARGS_H
546 /* Define if you have the <libintl.h> header file. */
547 #undef HAVE_LIBINTL_H
549 /* Define if you have the <stddef.h> header file. */
556 #undef HAVE_LIBSOCKET
558 /* Are we running SVR5 (UnixWare 7)? */
561 /* Are we running SVR4.2? */
564 /* Are we running some version of SVR4? */
567 /* Do we need to define _KERNEL to get the RLIMIT_* defines from
569 #undef RLIMIT_NEEDS_KERNEL
571 /* Do strcoll(3) and strcmp(3) give different results in the default locale? */
572 #undef STRCOLL_BROKEN
574 #include "config-bot.h"
576 #endif /* _CONFIG_H_ */