home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Unix / Shells / tcsh / Source / config / config.amdahl < prev    next >
Encoding:
Text File  |  1994-02-21  |  3.2 KB  |  121 lines

  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.  * From: neulynne@uts.uni-c.dk (Mogens Lynnerup), thanks!
  8.  */
  9.  
  10. /****************** System dependant compilation flags ****************/
  11. /*
  12.  * POSIX    This system supports IEEE Std 1003.1-1988 (POSIX).
  13.  */
  14. #undef POSIX
  15.  
  16. /*
  17.  * POSIXJOBS    This system supports the optional IEEE Std 1003.1-1988 (POSIX)
  18.  *        job control facilities.
  19.  */
  20. #undef POSIXJOBS
  21.  
  22. /*
  23.  * POSIXSIGS    Use the POSIX signal facilities to emulate BSD signals.
  24.  */
  25. #undef POSIXSIGS
  26.  
  27. /*
  28.  * VFORK    This machine has a vfork().  
  29.  *        It used to be that for job control to work, this define
  30.  *        was mandatory. This is not the case any more.
  31.  *        If you think you still need it, but you don't have vfork, 
  32.  *        define this anyway and then do #define vfork fork.  
  33.  *        I do this anyway on a Sun because of yellow pages brain damage,
  34.  *        [should not be needed under 4.1]
  35.  *        and on the iris4d cause    SGI's fork is sufficiently "virtual" 
  36.  *        that vfork isn't necessary.  (Besides, SGI's vfork is weird).
  37.  *        Note that some machines eg. rs6000 have a vfork, but not
  38.  *        with the berkeley semantics, so we cannot use it there either.
  39.  */
  40. #undef VFORK
  41.  
  42. /*
  43.  * BSDJOBS    You have BSD-style job control (both process groups and
  44.  *        a tty that deals correctly
  45.  */
  46. #undef BSDJOBS
  47.  
  48. /*
  49.  * BSDSIGS    You have 4.2-style signals, rather than USG style.
  50.  *        Note: POSIX systems should not define this unless they
  51.  *        have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
  52.  */
  53. #undef BSDSIGS
  54.  
  55. /*
  56.  * BSDTIMES    You have BSD-style process time stuff (like rusage)
  57.  *        This may or may not be true.  For example, Apple Unix
  58.  *        (OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
  59.  */
  60. #undef BSDTIMES
  61.  
  62. /*
  63.  * BSDLIMIT    You have BSD-style resource limit stuff (getrlimit/setrlimit)
  64.  */
  65. #undef BSDLIMIT
  66.  
  67. /*
  68.  * BSDNICE    Your system uses setpriority() instead of nice, to
  69.  *        change a processes scheduling priority
  70.  */
  71. #undef BSDNICE
  72.  
  73. /*
  74.  * TERMIO    You have struct termio instead of struct sgttyb.
  75.  *         This is usually the case for SYSV systems, where
  76.  *        BSD uses sgttyb. POSIX systems should define this
  77.  *        anyway, even though they use struct termios.
  78.  */
  79. #define TERMIO
  80.  
  81. /*
  82.  * SYSVREL    Your machine is SYSV based (HPUX, A/UX)
  83.  *        NOTE: don't do this if you are on a Pyramid -- tcsh is
  84.  *        built in a BSD universe.
  85.  *        Set SYSVREL to 1, 2, 3, or 4, depending the version of System V
  86.  *        you are running. Or set it to 0 if you are not SYSV based
  87.  */
  88. #define SYSVREL    3
  89.  
  90. /*
  91.  * YPBUGS    Work around Sun YP bugs that cause expansion of ~username
  92.  *        to send command output to /dev/null
  93.  */
  94. #undef YPBUGS
  95.  
  96. /*
  97.  * SIGVOID    Define this if your signal handlers return void.  On older
  98.  *        systems, signal returns int, but on newer ones, it returns void.
  99.  */
  100. #define SIGVOID 
  101.  
  102. /*
  103.  * HAVEDUP2    Define this if your system supports dup2().
  104.  */
  105. #define HAVEDUP2
  106.  
  107. /*
  108.  * UTHOST    Does the utmp file have a host field?
  109.  */
  110. #undef UTHOST
  111.  
  112. /*
  113.  * DIRENT    Your system has <dirent.h> instead of <sys/dir.h>
  114.  */
  115. #define DIRENT
  116. /****************** local defines *********************/
  117. /****************** configurable hacks ****************/
  118. /* have been moved to config_f.h */
  119. #include "config_f.h"
  120. #undef NLS
  121.