270e80d19cc893f9570df839acfda451fd2849a0
[platform/upstream/bash.git] / config.h.bot
1 /* config.h.bot */
2 /* modify settings or make new ones based on what autoconf tells us. */
3
4 #if !defined (HAVE_VPRINTF) && defined (HAVE_DOPRNT)
5 #  define USE_VFPRINTF_EMULATION
6 #  define HAVE_VPRINTF
7 #endif
8
9 /* Ultrix botches type-ahead when switching from canonical to
10    non-canonical mode, at least through version 4.3 */
11 #if !defined (HAVE_TERMIOS_H) || !defined (HAVE_TCGETATTR) || defined (ultrix)
12 #  define TERMIOS_MISSING
13 #endif
14
15 /* If we have a getcwd(3), but it calls popen(), #undef HAVE_GETCWD so
16    the replacement in getcwd.c will be built. */
17 #if defined (HAVE_GETCWD) && defined (GETCWD_BROKEN)
18 #  undef HAVE_GETCWD
19 #endif
20
21 #if defined (HAVE_SYS_RESOURCE_H) && defined (HAVE_GETRLIMIT)
22 #  define HAVE_RESOURCE
23 #endif
24
25 #if !defined (GETPGRP_VOID)
26 #  define HAVE_BSD_PGRP
27 #endif
28
29 #if !defined (HAVE_DEV_FD) && defined (NAMED_PIPES_MISSING)
30 #  undef PROCESS_SUBSTITUTION
31 #endif
32
33 /* If the shell is called by this name, it will become restricted. */
34 #if defined (RESTRICTED_SHELL)
35 #  define RESTRICTED_SHELL_NAME "rbash"
36 #endif
37
38 /* BANG_HISTORY requires HISTORY. */
39 #if defined (BANG_HISTORY) && !defined (HISTORY)
40 #  define HISTORY
41 #endif /* BANG_HISTORY && !HISTORY */
42
43 #if defined (READLINE) && !defined (HISTORY)
44 #  define HISTORY
45 #endif
46
47 #if !defined (V9_ECHO)
48 #  undef DEFAULT_ECHO_TO_USG
49 #endif
50
51 #if defined (JOB_CONTROL_MISSING)
52 #  undef JOB_CONTROL
53 #endif
54
55 #if defined (__STDC__) && defined (HAVE_STDARG_H)
56 #  define PREFER_STDARG
57 #  define USE_VARARGS
58 #else
59 #  if defined (HAVE_VARARGS_H)
60 #    define PREFER_VARARGS
61 #    define USE_VARARGS
62 #  endif
63 #endif
64
65 #if defined (STRCOLL_BROKEN)
66 #  undef HAVE_STRCOLL
67 #endif