summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-10-29 10:51:07 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-10-29 10:51:07 +0000
commite5e6f808f27a047f63e0dbf5eee44921416b7f3e (patch)
tree666b6daf544f027d7dad9dd6221047ab57d36cbf /src
parent2053fd01d966d0921eec58b791249f356fe23a86 (diff)
downloadkrb5-e5e6f808f27a047f63e0dbf5eee44921416b7f3e.tar.gz
krb5-e5e6f808f27a047f63e0dbf5eee44921416b7f3e.tar.xz
krb5-e5e6f808f27a047f63e0dbf5eee44921416b7f3e.zip
changes to convert into stock configuration file
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1343 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-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 034728dace..b083222051 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__ */
+