Added local()
[unix-history] / usr / src / usr.bin / mail / pathnames.h
index a595dd1..84df176 100644 (file)
@@ -5,12 +5,18 @@
  */
  
 /*
  */
  
 /*
- * Sccs Id = "@(#)pathnames.h  2.2 %G%";
+ * Sccs Id = "@(#)pathnames.h  2.4 %G%";
  */
 
  */
 
-#define        LOCAL           'j'             /* Local machine id */
+#define        GETHOST                         /* System has gethostname syscall */
+#ifdef GETHOST
+#define        LOCAL           EMPTYID         /* Dynamically determined local host */
+#else
+#define        LOCAL           'j'             /* Local host id */
+#endif GETHOST
+
 #define        MAIL            "/bin/mail"     /* Name of mail sender */
 #define        MAIL            "/bin/mail"     /* Name of mail sender */
-#define DELIVERMAIL    "/etc/delivermail"
+#define SENDMAIL       "/usr/lib/sendmail"
                                        /* Name of classy mail deliverer */
 #define        EDITOR          "/usr/ucb/ex"   /* Name of text editor */
 #define        VISUAL          "/usr/ucb/vi"   /* Name of display editor */
                                        /* Name of classy mail deliverer */
 #define        EDITOR          "/usr/ucb/ex"   /* Name of text editor */
 #define        VISUAL          "/usr/ucb/vi"   /* Name of display editor */