summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1989-03-23 04:47:32 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1989-03-23 04:47:32 +0000
commit669ca53ccbe3034829fb67ca6b7331494dd264d7 (patch)
treebc36fc436cec7d7a2524f0dc4a0b89d22eae0398
parente970120e532e9eef3462e626d23039c84b7592ec (diff)
add #ifndef/#define/#endif for Ultrix 2.2 and Kerberos
-rw-r--r--h/zephyr/zephyr_conf.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/h/zephyr/zephyr_conf.h b/h/zephyr/zephyr_conf.h
index 18f9ff0..cec45ea 100644
--- a/h/zephyr/zephyr_conf.h
+++ b/h/zephyr/zephyr_conf.h
@@ -18,6 +18,13 @@
#include <zephyr/mit-copyright.h>
/* Kerberos information */
+/* If you are not using Kerberos, comment out the following three lines.
+ These provide default definitions so that users compiling Zephyr
+ programs don't need to put -DKERBEROS on their compile lines. */
+#ifndef KERBEROS
+#define KERBEROS
+#endif
+
#define SERVER_SERVICE "zephyr"
#define SERVER_INSTANCE "zephyr"
#define SERVER_SRVTAB "/usr/athena/lib/zephyr/srvtab"
@@ -29,6 +36,15 @@
#define HM_SVCNAME "zephyr-hm"
#define SERVER_SVCNAME "zephyr-clt"
+#ifdef ultrix
+/* If you are using Ultrix versions prior to 3.0, uncomment the following
+ three lines so that users don't need to specify -DULTRIX22 on their
+ compile lines. */
+/* #ifndef ULTRIX22 */
+/* #define ULTRIX22 */
+/* #endif */
+#endif /* ultrix */
+
#if defined(ultrix) && defined(ULTRIX22)
/* Ultrix 3.0 and beyond have these defined in standard places */
/* Ultrix 2.2 and previous don't have these defined */