home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Unix / Shells / tcsh / Source / config / config.hpux8 < prev    next >
Encoding:
Text File  |  1994-02-21  |  3.5 KB  |  134 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. #define POSIX
  14.  
  15. #if defined(__hpux) && !defined(hpux)
  16. # define hpux
  17. #endif /* __hpux && !hpux */
  18.  
  19. #if __STDC__ && !defined(__GNUC__)
  20. # define _POSIX_SOURCE
  21. # define _HPUX_SOURCE
  22. #endif
  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.  * POSIXSIGS    Use the POSIX signal facilities to emulate BSD signals.
  32.  */
  33. #undef POSIXSIGS
  34.  
  35. /*
  36.  * VFORK    This machine has a vfork().  
  37.  *        It used to be that for job control to work, this define
  38.  *        was mandatory. This is not the case any more.
  39.  *        If you think you still need it, but you don't have vfork, 
  40.  *        define this anyway and then do #define vfork fork.  
  41.  *        I do this anyway on a Sun because of yellow pages brain damage,
  42.  *        [should not be needed under 4.1]
  43.  *        and on the iris4d cause    SGI's fork is sufficiently "virtual" 
  44.  *        that vfork isn't necessary.  (Besides, SGI's vfork is weird).
  45.  *        Note that some machines eg. rs6000 have a vfork, but not
  46.  *        with the berkeley semantics, so we cannot use it there either.
  47.  */
  48. #undef VFORK
  49.  
  50. /*
  51.  * BSDJOBS    You have BSD-style job control (both process groups and
  52.  *        a tty that deals correctly
  53.  */
  54. #define BSDJOBS
  55.  
  56. /*
  57.  * BSDSIGS    You have 4.2-style signals, rather than USG style.
  58.  *        Note: POSIX systems should not define this unless they
  59.  *        have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
  60.  */
  61. #define BSDSIGS
  62.  
  63. /*
  64.  * BSDTIMES    You have BSD-style process time stuff (like rusage)
  65.  *        This may or may not be true.  For example, Apple Unix
  66.  *        (OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
  67.  */
  68. #undef BSDTIMES
  69.  
  70. /*
  71.  * BSDLIMIT    You have BSD-style resource limit stuff (getrlimit/setrlimit)
  72.  */
  73. #define BSDLIMIT
  74.  
  75. /*
  76.  * BSDNICE    Your system uses setpriority() instead of nice, to
  77.  *        change a processes scheduling priority
  78.  */
  79. #undef BSDNICE
  80.  
  81. /*
  82.  * TERMIO    You have struct termio instead of struct sgttyb.
  83.  *         This is usually the case for SYSV systems, where
  84.  *        BSD uses sgttyb. POSIX systems should define this
  85.  *        anyway, even though they use struct termios.
  86.  */
  87. #define TERMIO
  88.  
  89. /*
  90.  * SYSVREL    Your machine is SYSV based (HPUX, A/UX)
  91.  *        NOTE: don't do this if you are on a Pyramid -- tcsh is
  92.  *        built in a BSD universe.
  93.  *        Set SYSVREL to 1, 2, 3, or 4, depending the version of System V
  94.  *        you are running. Or set it to 0 if you are not SYSV based
  95.  */
  96. #define SYSVREL    3
  97.  
  98. /*
  99.  * SIGVOID    Define this if your signal handlers return void.  On older
  100.  *        systems, signal returns int, but on newer ones, it returns void.
  101.  */
  102. #define SIGVOID 
  103.  
  104. /*
  105.  * HAVEDUP2    Define this if your system supports dup2().
  106.  */
  107. #define HAVEDUP2
  108.  
  109. /*
  110.  * UTHOST    Does the utmp file have a host field?
  111.  */
  112. #define UTHOST
  113.  
  114. /*
  115.  * DIRENT    Your system has <dirent.h> instead of <sys/dir.h>
  116.  */
  117. #define DIRENT
  118.  
  119. /*
  120.  * ECHO_STYLE    Optionally change the behavior of the builtin echo
  121.  *        BOTH_ECHO: Support both bsd options (-n) and sysv escapes (\nnn)
  122.  *        BSD_ECHO:  Support only -n
  123.  *        SYSV_ECHO: Support only sysv escapes (\nnn)
  124.  *        NONE_ECHO: Pure echo.
  125.  */
  126. #define ECHO_STYLE BOTH_ECHO    /* Both BSD and SYSV options */
  127.  
  128. /****************** local defines *********************/
  129. #define NAMEI_BUG    /* Great! you broke that one too */
  130.  
  131. /****************** configurable hacks ****************/
  132. /* have been moved to config_f.h */
  133. #include "config_f.h"
  134.