1
/* config.h. Generated automatically by configure. */
3
* config.h -- configure various defines for tcsh
5
* All source files should #include this FIRST.
7
* Edit this to match your system type.
12
/****************** System dependant compilation flags ****************/
14
* POSIX This system supports IEEE Std 1003.1-1988 (POSIX).
18
#if defined(__hpux) && !defined(hpux)
20
#endif /* __hpux && !hpux */
22
#if __STDC__ && !defined(__GNUC__)
23
# define _POSIX_SOURCE
26
# endif /* !_HPUX_SOURCE */
30
* POSIXJOBS This system supports the optional IEEE Std 1003.1-1988 (POSIX)
31
* job control facilities.
36
* POSIXSIGS Use the POSIX signal facilities to emulate BSD signals.
38
/* #undef POSIXSIGS */
41
* VFORK This machine has a vfork().
42
* It used to be that for job control to work, this define
43
* was mandatory. This is not the case any more.
44
* If you think you still need it, but you don't have vfork,
45
* define this anyway and then do #define vfork fork.
46
* I do this anyway on a Sun because of yellow pages brain damage,
47
* [should not be needed under 4.1]
48
* and on the iris4d cause SGI's fork is sufficiently "virtual"
49
* that vfork isn't necessary. (Besides, SGI's vfork is weird).
50
* Note that some machines eg. rs6000 have a vfork, but not
51
* with the berkeley semantics, so we cannot use it there either.
56
* BSDJOBS You have BSD-style job control (both process groups and
57
* a tty that deals correctly
62
* BSDSIGS You have 4.2-style signals, rather than USG style.
63
* Note: POSIX systems should not define this unless they
64
* have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
69
* BSDTIMES You have BSD-style process time stuff (like rusage)
70
* This may or may not be true. For example, Apple Unix
71
* (OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
76
* BSDLIMIT You have BSD-style resource limit stuff (getrlimit/setrlimit)
81
* BSDNICE Your system uses setpriority() instead of nice, to
82
* change a processes scheduling priority
87
* TERMIO You have struct termio instead of struct sgttyb.
88
* This is usually the case for SYSV systems, where
89
* BSD uses sgttyb. POSIX systems should define this
90
* anyway, even though they use struct termios.
95
* SYSVREL Your machine is SYSV based (HPUX, A/UX)
96
* NOTE: don't do this if you are on a Pyramid -- tcsh is
97
* built in a BSD universe.
98
* Set SYSVREL to 1, 2, 3, or 4, depending the version of System V
99
* you are running. Or set it to 0 if you are not SYSV based
104
* SIGVOID Define this if your signal handlers return void. On older
105
* systems, signal returns int, but on newer ones, it returns void.
110
* HAVEDUP2 Define this if your system supports dup2().
115
* UTHOST Does the utmp file have a host field?
120
* DIRENT Your system has <dirent.h> instead of <sys/dir.h>
125
* ECHO_STYLE Optionally change the behavior of the builtin echo
126
* BOTH_ECHO: Support both bsd options (-n) and sysv escapes (\nnn)
127
* BSD_ECHO: Support only -n
128
* SYSV_ECHO: Support only sysv escapes (\nnn)
129
* NONE_ECHO: Pure echo.
131
#define ECHO_STYLE BOTH_ECHO /* Both BSD and SYSV options */
133
/****************** local defines *********************/
134
#define NAMEI_BUG /* Great! you broke that one too */
136
#define HPUXVERSION 800 /* For HP-UX version 8.00 */
138
/****************** configurable hacks ****************/
139
/* have been moved to config_f.h */
140
#include "config_f.h"
141
#endif /* _h_config */
142
/* config.h.in. Generated automatically from configure.in by autoheader. */