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 * 8 * NEC EWS-UX/V(Rel4.0) R3000 9 * by Maurice LeBrun (mjl@dino.ph.utexas.edu) 2/16/93. 10 * 11 * Notes: 12 * You must specify -I/usr/include when compiling. 13 * When linking use LIBES= -ltermcap -lc 14 */ 15#ifndef _h_config 16#define _h_config 17 18/****************** System dependant compilation flags ****************/ 19/* 20 * POSIX This system supports IEEE Std 1003.1-1988 (POSIX). 21 */ 22#define POSIX 23 24/* 25 * POSIXJOBS This system supports the optional IEEE Std 1003.1-1988 (POSIX) 26 * job control facilities. 27 */ 28#define POSIXJOBS 29 30/* 31 * VFORK This machine has a vfork(). 32 * It used to be that for job control to work, this define 33 * was mandatory. This is not the case any more. 34 * If you think you still need it, but you don't have vfork, 35 * define this anyway and then do #define vfork fork. 36 * I do this anyway on a Sun because of yellow pages brain damage, 37 * [should not be needed under 4.1] 38 * and on the iris4d cause SGI's fork is sufficiently "virtual" 39 * that vfork isn't necessary. (Besides, SGI's vfork is weird). 40 * Note that some machines eg. rs6000 have a vfork, but not 41 * with the berkeley semantics, so we cannot use it there either. 42 */ 43#undef VFORK 44 45/* 46 * BSDJOBS You have BSD-style job control (both process groups and 47 * a tty that deals correctly 48 */ 49#define BSDJOBS 50 51/* 52 * BSDTIMES You have BSD-style process time stuff (like rusage) 53 * This may or may not be true. For example, Apple Unix 54 * (OREO) has BSDJOBS but not BSDTIMES. 55 */ 56#define BSDTIMES 57 58/* 59 * BSDLIMIT You have BSD-style resource limit stuff (getrlimit/setrlimit) 60 */ 61#define BSDLIMIT 62 63/* 64 * TERMIO You have struct termio instead of struct sgttyb. 65 * This is usually the case for SYSV systems, where 66 * BSD uses sgttyb. POSIX systems should define this 67 * anyway, even though they use struct termios. 68 */ 69#define TERMIO 70 71/* 72 * SYSVREL Your machine is SYSV based (HPUX, A/UX) 73 * NOTE: don't do this if you are on a Pyramid -- tcsh is 74 * built in a BSD universe. 75 * Set SYSVREL to 1, 2, or 3, depending the version of System V 76 * you are running. Or set it to 0 if you are not SYSV based 77 */ 78#define SYSVREL 4 79 80/* 81 * YPBUGS Work around Sun YP bugs that cause expansion of ~username 82 * to send command output to /dev/null 83 */ 84#undef YPBUGS 85 86/* 87 * ECHO_STYLE Optionally change the behavior of the builtin echo 88 * BOTH_ECHO: Support both bsd options (-n) and sysv escapes (\nnn) 89 * BSD_ECHO: Support only -n 90 * SYSV_ECHO: Support only sysv escapes (\nnn) 91 * NONE_ECHO: Pure echo. 92 */ 93#define ECHO_STYLE BOTH_ECHO 94 95/****************** local defines *********************/ 96 97#endif /* _h_config */ 98