1/*
2 * config.h -- configure various defines for tcsh
3 *
4 * All source files should #include this FIRST.
5 *
6 * Edit this to match your system type.
7 *      PFU/Fujitsu A-xx computer
8 * running
9 *      SX/A Edition 60 or later, without BSD/X option.
10 * (for systems with BSD/X, use config.bsd and /usr/bsd/bin/cc)
11 *
12 * Use followings in Makefile.
13 * w/o BSD/X
14 *	CC=	/bin/cc
15 * with BSD/X
16 *	CC=	/usr/bsd/bin/cc
17 *
18 * define KANJI in config_f.h if you need it.
19 */
20
21#ifndef _h_config
22#define _h_config
23
24/****************** System dependant compilation flags ****************/
25/*
26 * POSIX	This system supports IEEE Std 1003.1-1988 (POSIX).
27 */
28#undef POSIX
29
30/*
31 * POSIXJOBS	This system supports the optional IEEE Std 1003.1-1988 (POSIX)
32 *		job control facilities.
33 */
34#undef POSIXJOBS
35
36/*
37 * VFORK	This machine has a vfork().
38 *		It used to be that for job control to work, this define
39 *		was mandatory. This is not the case any more.
40 *		If you think you still need it, but you don't have vfork,
41 *		define this anyway and then do #define vfork fork.
42 *		I do this anyway on a Sun because of yellow pages brain damage,
43 *		[should not be needed under 4.1]
44 *		and on the iris4d cause	SGI's fork is sufficiently "virtual"
45 *		that vfork isn't necessary.  (Besides, SGI's vfork is weird).
46 *		Note that some machines eg. rs6000 have a vfork, but not
47 *		with the berkeley semantics, so we cannot use it there either.
48 */
49#undef VFORK
50
51/*
52 * BSDJOBS	You have BSD-style job control (both process groups and
53 *		a tty that deals correctly
54 */
55#undef BSDJOBS
56
57/*
58 * BSDTIMES	You have BSD-style process time stuff (like rusage)
59 *		This may or may not be true.  For example, Apple Unix
60 *		(OREO) has BSDJOBS but not BSDTIMES.
61 */
62#define BSDTIMES
63
64/*
65 * BSDLIMIT	You have BSD-style resource limit stuff (getrlimit/setrlimit)
66 */
67#define BSDLIMIT
68
69/*
70 * TERMIO	You have struct termio instead of struct sgttyb.
71 * 		This is usually the case for SYSV systems, where
72 *		BSD uses sgttyb. POSIX systems should define this
73 *		anyway, even though they use struct termios.
74 */
75#define TERMIO
76
77/*
78 * SYSVREL	Your machine is SYSV based (HPUX, A/UX)
79 *		NOTE: don't do this if you are on a Pyramid -- tcsh is
80 *		built in a BSD universe.
81 *		Set SYSVREL to 1, 2, 3, or 4, depending the version of System V
82 *		you are running. Or set it to 0 if you are not SYSV based
83 */
84#define SYSVREL	3
85
86/*
87 * YPBUGS	Work around Sun YP bugs that cause expansion of ~username
88 *		to send command output to /dev/null
89 */
90#undef YPBUGS
91
92/****************** local defines *********************/
93/*
94 * SX/A does not have NLS
95 */
96#undef NLS_CATALOGS
97#endif /* _h_config */
98