2 /* modify settings or make new ones based on what autoconf tells us. */
4 #if !defined (HAVE_VPRINTF) && defined (HAVE_DOPRNT)
5 # define USE_VFPRINTF_EMULATION
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
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)
21 #if defined (HAVE_SYS_RESOURCE_H) && defined (HAVE_GETRLIMIT)
22 # define HAVE_RESOURCE
25 #if !defined (GETPGRP_VOID)
26 # define HAVE_BSD_PGRP
29 #if !defined (HAVE_DEV_FD) && defined (NAMED_PIPES_MISSING)
30 # undef PROCESS_SUBSTITUTION
33 /* If the shell is called by this name, it will become restricted. */
34 #if defined (RESTRICTED_SHELL)
35 # define RESTRICTED_SHELL_NAME "rbash"
38 /* BANG_HISTORY requires HISTORY. */
39 #if defined (BANG_HISTORY) && !defined (HISTORY)
41 #endif /* BANG_HISTORY && !HISTORY */
43 #if defined (READLINE) && !defined (HISTORY)
47 #if defined (PROGRAMMABLE_COMPLETION) && !defined (READLINE)
48 # undef PROGRAMMABLE_COMPLETION
51 #if !defined (V9_ECHO)
52 # undef DEFAULT_ECHO_TO_XPG
55 #if defined (JOB_CONTROL_MISSING)
59 #if defined (__STDC__) && defined (HAVE_STDARG_H)
60 # define PREFER_STDARG
63 # if defined (HAVE_VARARGS_H)
64 # define PREFER_VARARGS
69 #if defined (STRCOLL_BROKEN)
73 #if defined (HAVE_SYS_SOCKET_H) && defined (HAVE_GETPEERNAME) && defined (HAVE_NETINET_IN_H)
77 #if !defined (PROMPT_STRING_DECODE)