home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mm / mm-0.90 / s-dynix211.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-18  |  9.6 KB  |  275 lines

  1. /*
  2.  * Copyright (c) 1986, 1990 by The Trustees of Columbia University in
  3.  * the City of New York.  Permission is granted to any individual or
  4.  * institution to use, copy, or redistribute this software so long as it
  5.  * is not sold for profit, provided this copyright notice is retained.
  6.  */
  7.  
  8. #ifdef RCSID
  9. #ifndef lint
  10. static char *s_dynix211_rcsid = "$Header: /f/src2/encore.bin/cucca/mm/tarring-it-up/RCS/s-dynix211.h,v 2.1 90/10/04 18:25:50 melissa Exp $";
  11. #endif
  12. #endif /* RCSID */
  13.  
  14. /*
  15.  * s-dynix-211.h - configuration file for Sequent Balance 8000
  16.  *               by Tim Russell, fritz@fergvax.unl.edu
  17.  */
  18.  
  19. /*
  20.  * The HOSTNAME macro is used only as a last resort, if no other way
  21.  * of determining the hostname will work.  If you have a domain name,
  22.  * i.e. there are dots in the official name of your host, include only
  23.  * the first component of the name.
  24.  */
  25. /* #define HOSTNAME "localhost"        /* local hostname */
  26.  
  27. /*
  28.  * If you have an official domain name for your host, and the domain name
  29.  * is not discernible with gethostbyname(3), define LOCALDOMAIN
  30.  * to be the name of your domain, preceded by a "."; otherwise, define
  31.  * LOCALDOMAIN to be a null string.  For example, if the name of your host
  32.  * is podunk.edu, you should specify:
  33.  *    #define LOCALDOMAIN ".edu"
  34.  * If your host is vax.cs.podunk.edu, you'd use
  35.  *    #define LOCALDOMAIN ".cs.podunk.edu"
  36.  */
  37. /* #define LOCALDOMAIN ".ourdomain.edu"    /* local domain */
  38.  
  39. /*
  40.  * If your site likes to make outgoing mail appear as if it all comes
  41.  * from one central host, define HIDDENNET as the name of that host.
  42.  * Otherwise, leave HIDDENNET undefined.
  43.  */
  44. /* #define HIDDENNET "mailhost.ourdomain.edu"    /* fake mail host name */
  45.  
  46. /*
  47.  * If your operating system supports filenames longer than 14 characters,
  48.  * I.e. you are running a Berkeley UNIX derivative, define HAVE_FLEXFILENAMES.
  49.  * If you are running some sort of operating system which supports
  50.  * long filenames only on remote filesystems (e.g. HP-UX 6.0), don't
  51.  * define it.
  52.  */
  53. #define HAVE_FLEXFILENAMES        /* we have long filenames */
  54.  
  55. /*
  56.  * If you have the Berkeley sendmail program, define SENDMAIL to be the
  57.  * pathname by which it should be invoked.
  58.  */
  59. #define SENDMAIL "/usr/lib/sendmail"    /* we have sendmail */
  60.  
  61. /*
  62.  * Define SPOOL_DIRECTORY to be the name of the directory to which
  63.  * new mail is delivered.  On System V-based systems, this is usually
  64.  * /usr/mail; on Berkeley systems, it's usually /usr/spool/mail.
  65.  */
  66. #define SPOOL_DIRECTORY "/usr/spool/mail"
  67.  
  68. /*
  69.  * If your mailer supports .forward files, and you want MM to display
  70.  * the contents of .forward file (you may not wish to do this if it's
  71.  * likely that a user's .forward file will be ignored because of conflicting
  72.  * entries in /usr/lib/aliases), define FORWARD_FILE as the name of the
  73.  * file in the user's home directory.
  74.  */
  75. #define FORWARD_FILE ".forward"        /* we use .forward files */
  76.  
  77. /*
  78.  * If you have GNU Emacs, define GNUEMACS to be the name with which it
  79.  * is usually referred by your users.  If GNUEMACS is not defined, special
  80.  * code used to interface MM with GNU Emacs will not be compiled into MM.
  81.  */
  82. /* #define GNUEMACS "emacs"        /* we don't have GNU Emacs */
  83.  
  84. /*
  85.  * If you have, and use, the Sun Yellow Pages facility, define
  86.  * HAVE_YP.
  87.  */
  88. /* #define HAVE_YP            /* we don't use yp */
  89.  
  90. /*
  91.  * If you have NFS and users will be referencing mail files on remote
  92.  * filesystems, define HAVE_NFS.
  93.  */
  94. /* #define HAVE_NFS            /* we don't use NFS */
  95.  
  96. /*
  97.  * Define one or more of NEED_FCNTL, NEED_UNISTD, and NEED_SYSFILE
  98.  * as appropriate, depending on whether or not MM has to include
  99.  * <fcntl.h>, <unistd.h>, and/or <sys/file.h> in order to obtain
  100.  * the symbol definitions used in the open(2), fcntl(2), flock(2),
  101.  * lockf(2), and lseek(2) system calls.
  102.  */
  103. #define NEED_FCNTL            /* include <fcntl.h> */
  104. #undef NEED_UNISTD            /* include <unistd.h> */
  105. #define NEED_SYSFILE
  106.  
  107. /*
  108.  * You will probably need this, but you may want to undefine it if
  109.  * another system header file includes it automatically.
  110.  */
  111. #define NEED_IOCTL            /* include <sys/ioctl.h> */
  112.  
  113. /*
  114.  * MM needs to refer to definitions which may appear in either
  115.  * <time.h> or <sys/time.h>, depending on what kind of system you have.
  116.  * <time.h> usually contains the definition of the "tm" struct, while
  117.  * on many BSD-based systems, <sys/time.h> will include the same information
  118.  * in addition to the "timeval" and "timezone" structs.  Define one or
  119.  * the other, or both, as appropriate.
  120.  */
  121. #define NEED_SYSTIME            /* include <sys/time.h> */
  122. #undef NEED_TIME            /* don't include <time.h> */
  123.  
  124. /*
  125.  * Define NEED_WAIT if your system defines "union wait" in <sys/wait.h>
  126.  * See also HAVE_WAIT3 below.
  127.  */
  128. #define NEED_WAIT            /* include <sys/wait.h> */
  129.  
  130. /*
  131.  * Define HAVE_WAIT3 if your system has the wait3() system call.
  132.  */
  133. #define HAVE_WAIT3            /* we have wait3() */
  134.  
  135. /*
  136.  * Define HAVE_JOBS if your system has job control.  Currently 4.2 job control
  137.  * is the only type supported.
  138.  */
  139. #define HAVE_JOBS            /* we have job control */
  140.  
  141. /*
  142.  * Define HAVE_BSD_SIGNALS if you have the 4.2BSD-style signal handling
  143.  * facilities.
  144.  */
  145. #define HAVE_BSD_SIGNALS        /* we have 4.2 signals */
  146.  
  147. /*
  148.  * If you have support for disk quotas, and you use them, define HAVE_QUOTAS
  149.  * Otherwise leave it undefined.
  150.  */
  151. #undef HAVE_QUOTAS            /* we don't use quota */
  152.  
  153. /*
  154.  * If you defined HAVE_QUOTAS above, define QUOTACTL if your system has 
  155.  * quotactl(2) system call.  If this is defined, MM also expects to
  156.  * find quota.h in <ufs/quota.h> rather than <sys/quota.h>.
  157.  */
  158. #undef HAVE_QUOTACTL            /* we have quotactl(), not quota() */
  159.  
  160. /*
  161.  * Define HAVE_INDEX if your system has index(3) and rindex(3) rather than
  162.  * than strchr(3) and strrchr(3).
  163.  */
  164. #define HAVE_INDEX            /* we have index & rindex */
  165.  
  166. /*
  167.  * Define HAVE_BSTRING if you have bcopy(3), bzero(3), and bcmp(3).  These
  168.  * are usually present on BSD-based systems, and missing on older systems
  169.  * where MM will use memcpy(3), memset(3), and memcmp(3).
  170.  */
  171. #define HAVE_BSTRING            /* we have bcopy and friends */
  172.  
  173. /*
  174.  * Define HAVE_VFORK if your system has the vfork(2) system call.
  175.  */
  176. #define HAVE_VFORK            /* we have vfork() */
  177.  
  178. /*
  179.  * Define HAVE_GETWD if you have getwd(2).  Most BSD-based systems should.
  180.  */
  181. #define HAVE_GETWD            /* we have the bsd getwd() */
  182.  
  183. /*
  184.  * Define HAVE_GETCWD if you have getcwd(3) rather than getwd(2).  This will
  185.  * be true on most SYSV-based systems.
  186.  */
  187. #undef HAVE_GETCWD            /* we don't have getcwd() */
  188.  
  189. /*
  190.  * Define HAVE_GETHOSTNAME if you have the gethostname(2) system call, and
  191.  * HAVE_GETHOSTBYNAME if you have get gethostbyxxxx(3) library routines.
  192.  * This is generally true on BSD-based systems, and some SYSV systems.
  193.  * They should be undefined if you either don't have them, or don't use
  194.  * them (because they're broken?).
  195.  */
  196. #define    HAVE_GETHOSTNAME        /* we have gethostname() */
  197. #define    HAVE_GETHOSTBYNAME        /* we have gethostbyname() */
  198.  
  199. /*
  200.  * Define HAVE_UNAME if you don't have the gethostname(2) system call,
  201.  * but you do have uname(2).  This is usually true on non-networked
  202.  * SYSV systems.
  203.  */
  204. #undef HAVE_UNAME            /* we don't have uname() */
  205.  
  206. /*
  207.  * Define PHOSTNAME if you have neither gethostname(2) or uname(2).
  208.  * It's value should be a string containing a UNIX command which will
  209.  * print your system's hostname.
  210.  */
  211. #undef PHOSTNAME             /* program that prints our hostname */
  212.  
  213. /*
  214.  * Define HAVE_RENAME if you have the rename(2) system call, or an equivalent
  215.  * C library routine.  This is true on later BSD releases and SVR3.
  216.  */
  217. #define HAVE_RENAME            /* we have rename() */
  218.  
  219. /*
  220.  * Define one or more of the following symbols, depending on what file-
  221.  * locking facilities are available on your system.  MM prefers the fcntl
  222.  * locking facility, since lockf and flock don't work on remote files when
  223.  * using NFS.
  224.  * 
  225.  * If you have the fcntl facility for locking file regions, define
  226.  * HAVE_F_SETLK (should be true of most systems with SVR2 (?) file locking).
  227.  * If you have flock(2) (most BSD-based systems), define HAVE_FLOCK.
  228.  * If you have lockf(2) (most SYSV systems), define HAVE_FLOCK.
  229.  */
  230. #define HAVE_F_SETLK            /* fcntl locks file regions */
  231. #define HAVE_FLOCK            /* flock locks whole files */
  232. #define HAVE_LOCKF            /* lockf works too */
  233.  
  234. /*
  235.  * If your /bin/mail program uses the flock(2) system call to prevent
  236.  * simultaneous access to files in /usr/mail or /usr/spool/mail, define
  237.  * MAIL_USE_FLOCK.  If this is not defined, the movemail program will
  238.  * attempt to lock files in the spool directory using lock files.
  239.  *
  240.  * If you're not sure whether or not to define this symbol, you might
  241.  * be able to find the answer by consulting the sources for /bin/mail
  242.  * on your system, or looking in the appropriate s-*.h file from the
  243.  * GNU Emacs distribution.  If you have the strings(1) program, you
  244.  * can run "strings /usr/spool/mail" to see if any ".lock" files exist
  245.  * there.
  246.  */
  247. #define MAIL_USE_FLOCK            /* ultrix /bin/mail uses flock(2) */
  248.  
  249. /* 
  250.  * 
  251.  * Define HAVE_BSD_SETPGRP if your system's setpgrp() system call takes two
  252.  * arguments.  This is generally true on later BSD releases with job control.
  253.  * On some systems, there is both a SYSV setpgrp() call and a setpgrp2() call,
  254.  * the latter of which takes two arguments like the BSD setpgrp() call.  If
  255.  * that's true on your system, you should probably also add
  256.  *    #define setpgrp setpgrp2
  257.  * unless your system somehow figures this out automatically.
  258.  */
  259. #define HAVE_BSD_SETPGRP        /* setpgrp() takes two args */
  260.  
  261. /*
  262.  * Define HAVE_VOIDSIG if your <signal.h> defines signal(2) as 
  263.  * void (*signal())(). This seems to be true in System V Release 3
  264.  * and SunOS 4.0.
  265.  */
  266. #undef HAVE_VOIDSIG            /* void (*signal())() */
  267.  
  268.  
  269. /*
  270.  * define volatile as static if your C compiler does not support the 
  271.  * "volatile" directive (ANSI C).
  272.  */
  273.  
  274. #define volatile static
  275.