/*1* config.h -- configure various defines for tcsh2*3* All source files should #include this FIRST.4*5* Edit this to match your system type.6*/78#ifndef _h_config9#define _h_config10/****************** System dependent compilation flags ****************/11/*12* POSIX This system supports IEEE Std 1003.1-1988 (POSIX).13*/14#define POSIX1516/*17* POSIXJOBS This system supports the optional IEEE Std 1003.1-1988 (POSIX)18* job control facilities.19*/20#define POSIXJOBS2122/*23* VFORK This machine has a vfork().24* It used to be that for job control to work, this define25* was mandatory. This is not the case any more.26* If you think you still need it, but you don't have vfork,27* define this anyway and then do #define vfork fork.28* I do this anyway on a Sun because of yellow pages brain damage,29* [should not be needed under 4.1]30* and on the iris4d cause SGI's fork is sufficiently "virtual"31* that vfork isn't necessary. (Besides, SGI's vfork is weird).32* Note that some machines eg. rs6000 have a vfork, but not33* with the berkeley semantics, so we cannot use it there either.34*/35/* #define VFORK */36#define vfork fork3738/*39* BSDJOBS You have BSD-style job control (both process groups and40* a tty that deals correctly41*/42#define BSDJOBS4344/*45* BSDTIMES You have BSD-style process time stuff (like rusage)46* This may or may not be true. For example, Apple Unix47* (OREO) has BSDJOBS but not BSDTIMES.48*/49#define BSDTIMES5051/*52* BSDLIMIT You have BSD-style resource limit stuff (getrlimit/setrlimit)53*/54#define BSDLIMIT5556/*57* TERMIO You have struct termio instead of struct sgttyb.58* This is usually the case for SYSV systems, where59* BSD uses sgttyb. POSIX systems should define this60* anyway, even though they use struct termios.61*/62#define TERMIO6364/*65* SYSVREL Your machine is SYSV based (HPUX, A/UX)66* NOTE: don't do this if you are on a Pyramid -- tcsh is67* built in a BSD universe.68* Set SYSVREL to 1, 2, 3, or 4, depending the version of System V69* you are running. Or set it to 0 if you are not SYSV based70*/71#define SYSVREL 07273/*74* YPBUGS Work around Sun YP bugs that cause expansion of ~username75* to send command output to /dev/null76*/77#undef YPBUGS7879/****************** local defines *********************/8081#if defined(__FreeBSD__)82#define NLS_BUGS83#define BSD_STYLE_COLORLS84/* Use LC_MESSAGES locale category to open the message catalog */85#define MCLoadBySet NL_CAT_LOCALE86#define BUFSIZE 819287#define UTMPX_FILE "/var/run/utx.active"88#endif8990#if defined(__bsdi__)91/*92* _PATH_TCSHELL if you've change the installation location (vix)93*/94#include <sys/param.h>95# ifdef _BSDI_VERSION >= 19970196# define _PATH_TCSHELL "/bin/tcsh"97# undef SYSMALLOC98# define SYSMALLOC99# else100# define _PATH_TCSHELL "/usr/contrib/bin/tcsh"101# endif102103# undef NLS104# undef NLS_CATALOGS105106#elif defined(__APPLE__)107# define SYSMALLOC108#endif109110#endif /* _h_config */111112113