changes to convert into stock configuration file
authorJohn Kohl <jtkohl@mit.edu>
Mon, 29 Oct 1990 10:51:07 +0000 (10:51 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 29 Oct 1990 10:51:07 +0000 (10:51 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1343 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/stock/config.h

index 034728dacedc4579413caf9d646651595012aa0b..b0832220513abd31a697389ec1b8bc7731257a2a 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef UnifdefRan
+/* WARNING: this file is automatically generated; do not edit! */
+#endif
 /*
  * $Source$
  * $Author$
@@ -8,8 +11,7 @@
  * For copying and distribution information, please see the file
  * <krb5/copyright.h>.
  *
- * Configuration file for Kerberos V5 library.
- * This config file works for IBM RT/PC running AOS 4.3 and VAX running 4.3BSD
+ * Configuration definition file.
  */
 
 #include <krb5/copyright.h>
 #ifndef KRB5_CONFIG__
 #define KRB5_CONFIG__
 
+#ifdef HasPosixTermiosTrue
+#define POSIX_TERMIOS
+#endif
+
+#ifdef HasPosixFileLocksTrue
+#define POSIX_FILE_LOCKS
+#endif
+
+#ifdef HasPosixTypesTrue
+#define POSIX_TYPES
+#endif
+
+#ifdef HasVoidSignalReturnTrue
+#define POSIX_SIGTYPE
+#endif
+
+#ifdef HasStringHTrue
+#define USE_STRING_H
+#endif
+
+#ifdef Bitsize32
+#ifdef Bitsize64
+ error: only one of BitsizeNN, please.
+#endif
+#ifdef Bitsize16
+ error: only one of BitsizeNN, please.
+#endif
+#define BITS32
+#endif
+
+#ifdef Bitsize16
+#ifdef Bitsize64
+ error: only one of BitsizeNN, please.
+#endif
+#ifdef Bitsize32
+ error: only one of BitsizeNN, please.
+#endif
+#define BITS16
+#endif
+
+#ifdef Bitsize64
+#ifdef Bitsize32
+ error: only one of BitsizeNN, please.
+#endif
+#ifdef Bitsize16
+ error: only one of BitsizeNN, please.
+#endif
+#define BITS64
+#endif
+
+/* XXX these should be parameterized soon... */
 #define PROVIDE_DES_CBC_CRC
 #define PROVIDE_CRC32
 #define PROVIDE_DES_CBC_CKSUM
@@ -29,3 +82,4 @@
 #define        KRB5_KDB_EXPIRATION     2145830400 /* Thu Jan  1 00:00:00 2038 UTC */
 
 #endif /* KRB5_CONFIG__ */
+