summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/stock/config.h58
1 files changed, 56 insertions, 2 deletions
diff --git a/src/include/krb5/stock/config.h b/src/include/krb5/stock/config.h
index 034728dac..b08322205 100644
--- a/src/include/krb5/stock/config.h
+++ b/src/include/krb5/stock/config.h
@@ -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>
@@ -17,6 +19,57 @@
#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__ */
+