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