]>
Commit | Line | Data |
---|---|---|
ccc6cda3 JA |
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 | ||
bb70624e JA |
47 | #if defined (PROGRAMMABLE_COMPLETION) && !defined (READLINE) |
48 | # undef PROGRAMMABLE_COMPLETION | |
49 | #endif | |
50 | ||
ccc6cda3 | 51 | #if !defined (V9_ECHO) |
bb70624e | 52 | # undef DEFAULT_ECHO_TO_XPG |
ccc6cda3 JA |
53 | #endif |
54 | ||
55 | #if defined (JOB_CONTROL_MISSING) | |
56 | # undef JOB_CONTROL | |
57 | #endif | |
58 | ||
59 | #if defined (__STDC__) && defined (HAVE_STDARG_H) | |
60 | # define PREFER_STDARG | |
61 | # define USE_VARARGS | |
62 | #else | |
63 | # if defined (HAVE_VARARGS_H) | |
64 | # define PREFER_VARARGS | |
65 | # define USE_VARARGS | |
66 | # endif | |
67 | #endif | |
d166f048 JA |
68 | |
69 | #if defined (STRCOLL_BROKEN) | |
70 | # undef HAVE_STRCOLL | |
71 | #endif | |
b72432fd | 72 | |
bb70624e JA |
73 | #if defined (HAVE_SYS_SOCKET_H) && defined (HAVE_GETPEERNAME) && defined (HAVE_NETINET_IN_H) |
74 | # define HAVE_NETWORK | |
75 | #endif | |
76 | ||
b72432fd | 77 | #if !defined (PROMPT_STRING_DECODE) |
bb70624e | 78 | # undef PPROMPT |
b72432fd JA |
79 | # define PPROMPT "$ " |
80 | #endif |