From e5e6f808f27a047f63e0dbf5eee44921416b7f3e Mon Sep 17 00:00:00 2001 From: John Kohl Date: Mon, 29 Oct 1990 10:51:07 +0000 Subject: changes to convert into stock configuration file git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1343 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/stock/config.h | 58 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 deletions(-) (limited to 'src') 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 * . * - * 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 @@ -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__ */ + -- cgit