mxge: Disable flow control by default.
[dragonfly.git] / bin / csh / config_p.h
blobdb21345ee3986bb44aa1f086cf035ef93945ecc1
1 /*
2 * config.h -- configure various defines for tcsh
4 * All source files should #include this FIRST.
6 * Edit this to match your system type.
7 */
9 #ifndef _h_config
10 #define _h_config
11 /****************** System dependant compilation flags ****************/
13 * POSIX This system supports IEEE Std 1003.1-1988 (POSIX).
15 #define POSIX
18 * POSIXJOBS This system supports the optional IEEE Std 1003.1-1988 (POSIX)
19 * job control facilities.
21 #define POSIXJOBS
24 * VFORK This machine has a vfork().
25 * It used to be that for job control to work, this define
26 * was mandatory. This is not the case any more.
27 * If you think you still need it, but you don't have vfork,
28 * define this anyway and then do #define vfork fork.
29 * I do this anyway on a Sun because of yellow pages brain damage,
30 * [should not be needed under 4.1]
31 * and on the iris4d cause SGI's fork is sufficiently "virtual"
32 * that vfork isn't necessary. (Besides, SGI's vfork is weird).
33 * Note that some machines eg. rs6000 have a vfork, but not
34 * with the berkeley semantics, so we cannot use it there either.
36 #define VFORK
39 * BSDJOBS You have BSD-style job control (both process groups and
40 * a tty that deals correctly
42 #define BSDJOBS
45 * BSDTIMES You have BSD-style process time stuff (like rusage)
46 * This may or may not be true. For example, Apple Unix
47 * (OREO) has BSDJOBS but not BSDTIMES.
49 #define BSDTIMES
52 * BSDLIMIT You have BSD-style resource limit stuff (getrlimit/setrlimit)
54 #define BSDLIMIT
57 * TERMIO You have struct termio instead of struct sgttyb.
58 * This is usually the case for SYSV systems, where
59 * BSD uses sgttyb. POSIX systems should define this
60 * anyway, even though they use struct termios.
62 #define TERMIO
65 * SYSVREL Your machine is SYSV based (HPUX, A/UX)
66 * NOTE: don't do this if you are on a Pyramid -- tcsh is
67 * built in a BSD universe.
68 * Set SYSVREL to 1, 2, 3, or 4, depending the version of System V
69 * you are running. Or set it to 0 if you are not SYSV based
71 #define SYSVREL 0
74 * YPBUGS Work around Sun YP bugs that cause expansion of ~username
75 * to send command output to /dev/null
77 #undef YPBUGS
79 /****************** local defines *********************/
81 #if defined(__DragonFly__)
82 #define NLS_BUGS
83 #define BSD_STYLE_COLORLS
84 #endif
86 #if defined(__bsdi__)
88 * _PATH_TCSHELL if you've change the installation location (vix)
90 #include <sys/param.h>
91 # ifdef _BSDI_VERSION >= 199701
92 # define _PATH_TCSHELL "/bin/tcsh"
93 # undef SYSMALLOC
94 # define SYSMALLOC
95 # else
96 # define _PATH_TCSHELL "/usr/contrib/bin/tcsh"
97 # endif
99 #elif defined(__APPLE__)
100 # define SYSMALLOC
101 # define BSD_STYLE_COLORLS
102 #endif
104 #endif /* _h_config */