2 * config.h -- configure various defines for tcsh
4 * All source files should #include this FIRST.
6 * Edit this to match your system type.
11 /****************** System dependant compilation flags ****************/
13 * POSIX This system supports IEEE Std 1003.1-1988 (POSIX).
18 * POSIXJOBS This system supports the optional IEEE Std 1003.1-1988 (POSIX)
19 * job control facilities.
24 * POSIXSIGS Use the POSIX signal facilities to emulate BSD signals.
29 * VFORK This machine has a vfork().
30 * It used to be that for job control to work, this define
31 * was mandatory. This is not the case any more.
32 * If you think you still need it, but you don't have vfork,
33 * define this anyway and then do #define vfork fork.
34 * I do this anyway on a Sun because of yellow pages brain damage,
35 * [should not be needed under 4.1]
36 * and on the iris4d cause SGI's fork is sufficiently "virtual"
37 * that vfork isn't necessary. (Besides, SGI's vfork is weird).
38 * Note that some machines eg. rs6000 have a vfork, but not
39 * with the berkeley semantics, so we cannot use it there either.
44 * BSDJOBS You have BSD-style job control (both process groups and
45 * a tty that deals correctly
50 * BSDSIGS You have 4.2-style signals, rather than USG style.
51 * Note: POSIX systems should not define this unless they
52 * have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
57 * BSDTIMES You have BSD-style process time stuff (like rusage)
58 * This may or may not be true. For example, Apple Unix
59 * (OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
64 * BSDLIMIT You have BSD-style resource limit stuff (getrlimit/setrlimit)
69 * BSDNICE Your system uses setpriority() instead of nice, to
70 * change a processes scheduling priority
75 * TERMIO You have struct termio instead of struct sgttyb.
76 * This is usually the case for SYSV systems, where
77 * BSD uses sgttyb. POSIX systems should define this
78 * anyway, even though they use struct termios.
83 * SYSVREL Your machine is SYSV based (HPUX, A/UX)
84 * NOTE: don't do this if you are on a Pyramid -- tcsh is
85 * built in a BSD universe.
86 * Set SYSVREL to 1, 2, 3, or 4, depending the version of System V
87 * you are running. Or set it to 0 if you are not SYSV based
92 * YPBUGS Work around Sun YP bugs that cause expansion of ~username
93 * to send command output to /dev/null
98 * SIGVOID Define this if your signal handlers return void. On older
99 * systems, signal returns int, but on newer ones, it returns void.
104 * HAVEDUP2 Define this if your system supports dup2().
109 * UTHOST Does the utmp file have a host field?
114 * DIRENT Your system has <dirent.h> instead of <sys/dir.h>
117 /****************** local defines *********************/
118 /****************** configurable hacks ****************/
120 /* have been moved to config_f.h */
121 #include "config_f.h"
123 #if defined(__FreeBSD__)
125 #define BSD_STYLE_COLORLS
128 #if defined(__bsdi__)
130 * _PATH_TCSHELL if you've change the installation location (vix)
132 #include <sys/param.h>
133 # ifdef _BSDI_VERSION >= 199701
134 # define _PATH_TCSHELL "/bin/tcsh"
138 # define _PATH_TCSHELL "/usr/contrib/bin/tcsh"
144 #elif defined(__APPLE__)
148 # define NLS_CATALOGS
151 #endif /* _h_config */