]> git.ipfire.org Git - thirdparty/bash.git/blame - config.h.bot
Imported from ../bash-2.0.tar.gz.
[thirdparty/bash.git] / config.h.bot
CommitLineData
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
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