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