Imported from ../bash-2.01.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 AFS if you are using Transarc's AFS. */
114 #undef AFS
115
116 /* End of configuration settings controllable by autoconf. */
117 /* Other settable options appear in config.h.top. */
118
119 #include "config.h.top"
120
121 /* Beginning of autoconf additions. */
122
123 /* Define if using alloca.c.  */
124 #undef C_ALLOCA
125
126 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
127    This function is required for alloca.c support on those systems.  */
128 #undef CRAY_STACKSEG_END
129
130 /* Define to the type of elements in the array set by `getgroups'.
131    Usually this is either `int' or `gid_t'.  */
132 #undef GETGROUPS_T
133
134 /* Define if the `getpgrp' function takes no argument.  */
135 #undef GETPGRP_VOID
136
137 /* Define to `int' if <sys/types.h> doesn't define.  */
138 #undef gid_t
139
140 /* Define if you have alloca, as a function or macro.  */
141 #undef HAVE_ALLOCA
142
143 /* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
144 #undef HAVE_ALLOCA_H
145
146 /* Define if you don't have vprintf but do have _doprnt.  */
147 #undef HAVE_DOPRNT
148
149 /* Define if system calls automatically restart after interruption
150    by a signal.  */
151 #undef HAVE_RESTARTABLE_SYSCALLS
152
153 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
154 #undef HAVE_SYS_WAIT_H
155
156 /* Define if you have <sys/time.h> */
157 #undef HAVE_SYS_TIME_H
158
159 #undef TIME_WITH_SYS_TIME
160
161 #undef HAVE_SYS_TIMES_H
162
163 /* Define if you have the vprintf function.  */
164 #undef HAVE_VPRINTF
165
166 #undef HAVE_WAIT3
167
168 #undef HAVE_SETOSTYPE
169
170 /* Define if on MINIX.  */
171 #undef _MINIX
172
173 /* Define to `long' if <sys/types.h> doesn't define.  */
174 #undef off_t
175
176 /* Define to `int' if <sys/types.h> doesn't define. */
177 #undef mode_t
178
179 /* Define to `int' if <signal.h> doesn't define. */
180 #undef sigset_t
181
182 /* Define to `int' if <sys/types.h> doesn't define.  */
183 #undef pid_t
184
185 /* Define if the system does not provide POSIX.1 features except
186    with this defined.  */
187 #undef _POSIX_1_SOURCE
188
189 /* Define if you need to in order for stat and other things to work.  */
190 #undef _POSIX_SOURCE
191
192 /* Define as the return type of signal handlers (int or void).  */
193 #undef RETSIGTYPE
194
195 /* Define if the setvbuf function takes the buffering type as its second
196    argument and the buffer pointer as the third, as on System V
197    before release 3.  */
198 #undef SETVBUF_REVERSED
199
200 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
201 #undef size_t
202
203 /* If using the C implementation of alloca, define if you know the
204    direction of stack growth for your system; otherwise it will be
205    automatically deduced at run-time.
206         STACK_DIRECTION > 0 => grows toward higher addresses
207         STACK_DIRECTION < 0 => grows toward lower addresses
208         STACK_DIRECTION = 0 => direction of growth unknown
209  */
210 #undef STACK_DIRECTION
211
212 /* Define if you have the ANSI C header files.  */
213 #undef STDC_HEADERS
214
215 /* Define if `sys_siglist' is declared by <signal.h>.  */
216 #undef SYS_SIGLIST_DECLARED
217
218 /* Define to `int' if <sys/types.h> doesn't define.  */
219 #undef uid_t
220
221 /* Define to `long' if <sys/types.h> doesn't define.  */
222 #undef clock_t
223
224 /* Define to `long' if <sys/types.h> doesn't define.  */
225 #undef time_t
226
227 #undef DUP2_BROKEN
228
229 #undef HAVE_GETRLIMIT
230
231 #undef HAVE_GETRUSAGE
232
233 #undef HAVE_GETTIMEOFDAY
234
235 #undef GWINSZ_IN_SYS_IOCTL
236
237 #undef TIOCSTAT_IN_SYS_IOCTL
238
239 #undef FIONREAD_IN_SYS_IOCTL
240
241 #undef WORDS_BIGENDIAN
242
243 #undef HAVE_HASH_BANG_EXEC
244
245 #undef HAVE_BSD_SIGNALS
246
247 #undef HAVE_POSIX_SIGNALS
248
249 #undef HAVE_USG_SIGHOLD
250
251 #undef HAVE_DEV_FD
252
253 #undef DEV_FD_PREFIX
254
255 #undef HAVE_GETPW_DECLS
256
257 #undef HAVE_QUAD_T
258
259 #undef HAVE_RESOURCE
260
261 #undef HAVE_STRSIGNAL
262
263 #undef HAVE_SYS_ERRLIST
264
265 #undef STAT_MACROS_BROKEN
266
267 #undef HAVE_TIMEVAL
268
269 #undef HAVE_MEMMOVE
270
271 #undef HAVE_MKFIFO
272
273 #undef NAMED_PIPES_MISSING
274
275 #undef OPENDIR_NOT_ROBUST
276
277 #undef PGRP_PIPE
278
279 #undef RLIMTYPE
280
281 #undef SBRK_DECLARED
282
283 #undef PRINTF_DECLARED
284
285 #undef HAVE_SYS_SIGLIST
286
287 #undef HAVE_TIMES
288
289 #undef HAVE_UNDER_SYS_SIGLIST
290
291 #undef VOID_SIGHANDLER
292
293 #undef TERMIOS_LDISC
294
295 #undef TERMIO_LDISC
296
297 #undef ULIMIT_MAXFDS
298
299 #undef GETCWD_BROKEN
300
301 #undef STRUCT_DIRENT_HAS_D_INO
302
303 #undef STRUCT_DIRENT_HAS_D_FILENO
304
305 #undef STRUCT_WINSIZE_IN_SYS_IOCTL
306
307 #undef SPEED_T_IN_SYS_TYPES
308
309 #undef CAN_REDEFINE_GETENV
310
311 #undef MUST_REINSTALL_SIGHANDLERS
312
313 #undef JOB_CONTROL_MISSING
314
315 #undef HAVE_POSIX_SIGSETJMP
316
317 #define DEFAULT_MAIL_DIRECTORY "/usr/spool/mail"
318
319 /* Define if you have the bcopy function.  */
320 #undef HAVE_BCOPY
321
322 /* Define if you have the bzero function.  */
323 #undef HAVE_BZERO
324
325 /* Define if you have the confstr function.  */
326 #undef HAVE_CONFSTR
327
328 /* Define if you have the dlclose function.  */
329 #undef HAVE_DLCLOSE
330
331 /* Define if you have the dlopen function.  */
332 #undef HAVE_DLOPEN
333
334 /* Define if you have the dlsym function.  */
335 #undef HAVE_DLSYM
336
337 /* Define if you have the dup2 function.  */
338 #undef HAVE_DUP2
339
340 /* Define if you have the getcwd function.  */
341 #undef HAVE_GETCWD
342
343 /* Define if you have the getdtablesize function.  */
344 #undef HAVE_GETDTABLESIZE
345
346 /* Define if you have the getgroups function.  */
347 #undef HAVE_GETGROUPS
348
349 /* Define if you have the gethostname function.  */
350 #undef HAVE_GETHOSTNAME
351
352 /* Define if you have the getpagesize function.  */
353 #undef HAVE_GETPAGESIZE
354
355 /* Define if you have the getpeername function.  */
356 #undef HAVE_GETPEERNAME
357
358 /* Define if you have the getwd function.  */
359 #undef HAVE_GETWD
360
361 /* Define if you have the killpg function.  */
362 #undef HAVE_KILLPG
363
364 #undef HAVE_LSTAT
365
366 /* Define if you have the putenv function.  */
367 #undef HAVE_PUTENV
368
369 /* Define if you have the select function.  */
370 #undef HAVE_SELECT
371
372 /* Define if you have the setdtablesize function.  */
373 #undef HAVE_SETDTABLESIZE
374
375 /* Define if you have the setenv function.  */
376 #undef HAVE_SETENV
377
378 /* Define if you have the setlinebuf function.  */
379 #undef HAVE_SETLINEBUF
380
381 /* Define if you have the setlocale function.  */
382 #undef HAVE_SETLOCALE
383
384 #undef HAVE_SIGINTERRUPT
385
386 /* Define if you have the strcasecmp function.  */
387 #undef HAVE_STRCASECMP
388
389 /* Define if you have the strchr function.  */
390 #undef HAVE_STRCHR
391
392 /* Define if you have the strerror function.  */
393 #undef HAVE_STRERROR
394
395 /* Define if you have the tcgetattr function.  */
396 #undef HAVE_TCGETATTR
397
398 /* Define if you have the sysconf function. */
399 #undef HAVE_SYSCONF
400
401 /* Define if you have the uname function. */
402 #undef HAVE_UNAME
403
404 /* Define if you have the ulimit function. */
405 #undef HAVE_ULIMIT
406
407 #undef HAVE_WAITPID
408
409 #undef HAVE_TCGETPGRP
410
411 #undef HAVE_GETTEXT
412
413 #undef HAVE_TEXTDOMAIN
414
415 #undef HAVE_BINDTEXTDOMAIN
416
417 #undef HAVE_STRCOLL
418
419 #undef HAVE_TZSET
420
421 /* Define if you have the <dirent.h> header file.  */
422 #undef HAVE_DIRENT_H
423
424 /* Define if you have the <dlfcn.h> header file.  */
425 #undef HAVE_DLFCN_H
426
427 /* Define if you have the <limits.h> header file.  */
428 #undef HAVE_LIMITS_H
429
430 /* Define if you have the <locale.h> header file.  */
431 #undef HAVE_LOCALE_H
432
433 /* Define if you have the <ndir.h> header file.  */
434 #undef HAVE_NDIR_H
435
436 /* Define if you have the <stdlib.h> header file.  */
437 #undef HAVE_STDLIB_H
438
439 /* Define if you have the <stdarg.h> header file.  */
440 #undef HAVE_STDARG_H
441
442 /* Define if you have the <string.h> header file.  */
443 #undef HAVE_STRING_H
444
445 /* Define if you have the <memory.h> header file.  */
446 #undef HAVE_MEMORY_H
447
448 /* Define if you have the <sys/dir.h> header file.  */
449 #undef HAVE_SYS_DIR_H
450
451 /* Define if you have the <sys/file.h> header file.  */
452 #undef HAVE_SYS_FILE_H
453
454 /* Define if you have the <sys/ndir.h> header file.  */
455 #undef HAVE_SYS_NDIR_H
456
457 /* Define if you have the <sys/param.h> header file.  */
458 #undef HAVE_SYS_PARAM_H
459
460 /* Define if you have the <sys/pte.h> header file.  */
461 #undef HAVE_SYS_PTE_H
462
463 /* Define if you have the <sys/ptem.h> header file.  */
464 #undef HAVE_SYS_PTEM_H
465
466 /* Define if you have the <sys/resource.h> header file.  */
467 #undef HAVE_SYS_RESOURCE_H
468
469 /* Define if you have the <sys/select.h> header file.  */
470 #undef HAVE_SYS_SELECT_H
471
472 /* Define if you have the <sys/socket.h> header file.  */
473 #undef HAVE_SYS_SOCKET_H
474
475 /* Define if you have the <sys/stream.h> header file.  */
476 #undef HAVE_SYS_STREAM_H
477
478 /* Define if you have the <termcap.h> header file.  */
479 #undef HAVE_TERMCAP_H
480
481 /* Define if you have the <termio.h> header file.  */
482 #undef HAVE_TERMIO_H
483
484 /* Define if you have the <termios.h> header file.  */
485 #undef HAVE_TERMIOS_H
486
487 /* Define if you have the <unistd.h> header file.  */
488 #undef HAVE_UNISTD_H
489
490 /* Define if you have the <varargs.h> header file.  */
491 #undef HAVE_VARARGS_H
492
493 /* Define if you have the <libintl.h> header file. */
494 #undef HAVE_LIBINTL_H
495
496 #undef HAVE_LIBDL
497
498 #undef HAVE_LIBSUN
499
500 #undef HAVE_LIBSOCKET
501
502 /* Are we running SVR4.2? */
503 #undef SVR4_2
504
505 /* Are we running some version of SVR4? */
506 #undef SVR4
507
508 /* Do we need to define _KERNEL to get the RLIMIT_* defines from
509    <sys/resource.h>? */
510 #undef RLIMIT_NEEDS_KERNEL
511
512 /* Do strcoll(3) and strcmp(3) give different results in the default locale? */
513 #undef STRCOLL_BROKEN
514
515 #include "config.h.bot"
516
517 #endif /* _CONFIG_H_ */
518