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