osconf.h, config.h: Remove remnants of unifdef support for
authorTheodore Tso <tytso@mit.edu>
Wed, 30 Nov 1994 21:37:04 +0000 (21:37 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 30 Nov 1994 21:37:04 +0000 (21:37 +0000)
building osconf.h and config.h, left over from the imake
build system.

osconf.h: Add #ifdef for Athena configuration.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4720 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/stock/ChangeLog
src/include/krb5/stock/confauto.h [deleted file]
src/include/krb5/stock/config.h
src/include/krb5/stock/osauto.h [deleted file]
src/include/krb5/stock/osconf.h

index 6972bee5492e275fc68cc57d044deda6dec69a39..ad7b30c442db3442b65cc9f634a82d69fb05b6d8 100644 (file)
@@ -1,3 +1,11 @@
+Wed Nov 30 16:18:29 1994  Theodore Y. Ts'o  (tytso@dcl)
+
+       * osconf.h, config.h: Remove remnants of unifdef support for
+               building osconf.h and config.h, left over from the imake
+               build system. 
+
+       * osconf.h: Add #ifdef for Athena configuration.
+
 Thu Oct 13 16:58:53 1994  Theodore Y. Ts'o  (tytso@dcl)
 
        * config.h: Define PROVIDE_DES_CBC_MD5 so that we include this
diff --git a/src/include/krb5/stock/confauto.h b/src/include/krb5/stock/confauto.h
deleted file mode 100644 (file)
index 294e41b..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright 1990,1991,1994 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- *   require a specific license from the United States Government.
- *   It is the responsibility of any person or organization contemplating
- *   export to obtain such a license before exporting.
- * 
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission.  M.I.T. makes no representations about the suitability of
- * this software for any purpose.  It is provided "as is" without express
- * or implied warranty.
- * 
- *
- * Configuration definition file.
- */
-
-
-#ifndef KRB5_CONFIG__
-#define KRB5_CONFIG__
-
-#ifndef KRB5_AUTOCONF__
-#define KRB5_AUTOCONF__
-#include "autoconf.h"
-#endif
index af8250c303903f41a5d065ac0ed2cda11b9bef04..074106cf7493bb7473cd76b18078bea6678cb017 100644 (file)
@@ -1,10 +1,5 @@
-#ifdef UnifdefRan
-/* WARNING: this file is automatically generated; do not edit! */
-#endif
 /*
- * include/krb5/stock/config.h
- *
- * Copyright 1990,1991 by the Massachusetts Institute of Technology.
+ * Copyright 1990,1991,1994 by the Massachusetts Institute of Technology.
  * All Rights Reserved.
  *
  * Export of this software from the United States of America may
 #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
-#define krb5_sigtype void
-#else
-typedef int krb5_sigtype;
-#endif
-
-#ifdef HasStringHTrue
-#define USE_STRING_H
-#endif
-
-#ifndef HasStdlibHTrue
-#define NO_STDLIB_H
-#endif
-
-#ifdef ForceStdlibH
-#define        HAS_STDLIB_H
-#endif
-
-#ifdef HasAnsiStdio
-#define        ANSI_STDIO
-#endif
-
-#ifdef ProvidePrototypes
-#ifndef KRB5_PROVIDE_PROTOTYPES
-#define KRB5_PROVIDE_PROTOTYPES YES
-#endif
-#endif
-
-#ifdef UseNarrowPrototypes
-#define NARROW_PROTOTYPES
-#endif
-
-#ifdef UseStdarg
-#define        STDARG_PROTOTYPES
+#ifndef KRB5_AUTOCONF__
+#define KRB5_AUTOCONF__
+#include "autoconf.h"
 #endif
 
-#ifdef NoNestedPrototypes
-#define        NO_NESTED_PROTOTYPES
-#endif
-
-#ifdef UseVoid
-#define HAS_VOID_TYPE
-#endif
-
-#ifdef UseConst
-#define HAS_ANSI_CONST
-#endif
-
-#ifdef UseVolatile
-#define HAS_ANSI_VOLATILE
-#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
-
-/* SPLIT-HERE */
 #ifdef SYSV
 /* Change srandom and random to use rand and srand */
 /* Taken from the Sandia changes.  XXX  We should really just include */
@@ -155,10 +59,6 @@ typedef int krb5_sigtype;
 #define        KRB5_KDB_MAX_RLIFE      (60*60*24*7) /* one week */
 #define        KRB5_KDB_EXPIRATION     2145830400 /* Thu Jan  1 00:00:00 2038 UTC */
 
-#ifdef Krb4Compat
-#define KRB5_KRB4_COMPAT
-#endif
-
 /*
  * For paranoid DOE types that don't want to give helpful error
  * messages to the client....er, attacker
diff --git a/src/include/krb5/stock/osauto.h b/src/include/krb5/stock/osauto.h
deleted file mode 100644 (file)
index d4dbcb2..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * include/krb5/stock/osauto.h
- *
- * Copyright 1990,1991 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- *   require a specific license from the United States Government.
- *   It is the responsibility of any person or organization contemplating
- *   export to obtain such a license before exporting.
- * 
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission.  M.I.T. makes no representations about the suitability of
- * this software for any purpose.  It is provided "as is" without express
- * or implied warranty.
- * 
- *
- * Site- and OS- dependant configuration.
- */
-
-
-#ifndef KRB5_OSCONF__
-#define KRB5_OSCONF__
-
-#ifndef KRB5_AUTOCONF__
-#define KRB5_AUTOCONF__
-#include "autoconf.h"
-#endif
-
-/* remainder added on */
index 1914f741e6f765f710bf3671be68304273521265..e316c679e461ffce06428d46091f4982155ea239 100644 (file)
@@ -1,6 +1,3 @@
-#ifdef UnifdefRan
-/* WARNING: this file is automatically generated; do not edit! */
-#endif
 /*
  * include/krb5/stock/osconf.h
  *
  * Site- and OS- dependant configuration.
  */
 
-
 #ifndef KRB5_OSCONF__
 #define KRB5_OSCONF__
 
-#ifndef HasNdbmTrue
-#define ODBM
+#ifndef KRB5_AUTOCONF__
+#define KRB5_AUTOCONF__
+#include "autoconf.h"
 #endif
 
-#ifdef UseSysTimeH
-#define        USE_SYS_TIME_H  /* Needs <sys/time.h> for time includes. */             
-#endif
-
-#ifdef HasInetTrue
-#define KRB5_USE_INET          /* Support IP address family */
-#endif
-
-#ifdef HasUnistdH
-#define        HAS_UNISTD_H
-#endif
-
-/*** SPLIT-HERE ***/
 #define        USE_DBM_LNAME           /* Use a DBM database for the aname/lname
                                   conversion */
 
+#ifdef KRB5_ATHENA_COMPAT
+#define        DEFAULT_CONFIG_FILENAME "/etc/athena/krb.conf.v5"
+#define        DEFAULT_TRANS_FILENAME  "/etc/athena/krb.realms"
+#define        DEFAULT_LNAME_FILENAME  "/etc/athena/aname"
+#define        DEFAULT_KEYTAB_NAME     "FILE:/etc/athena/v5srvtab"
+#else
 #define        DEFAULT_CONFIG_FILENAME "@KRB5ROOT/krb.conf"
 #define        DEFAULT_TRANS_FILENAME  "@KRB5ROOT/krb.realms"
 #define        DEFAULT_LNAME_FILENAME  "@KRB5ROOT/aname"
 #define        DEFAULT_KEYTAB_NAME     "FILE:@KRB5SRVTABDIR/v5srvtab"
+#endif
 
 #define DEFAULT_KDB_FILE        "@KDB5DIR/principal"
 #define DEFAULT_ADMIN_ACL      "@KDB5DIR/admin_acl_file"
  */
 
 /* the default syslog file */
-#define KADM_SYSLOG  "@KRB5ROOT/admin_server.syslog"
+#define KADM_SYSLOG  "@KDB5DIR/admin_server.syslog"
 
 /* where to find the bad password table */
-#define PW_CHECK_FILE "@KRB5ROOT/bad_passwd"
+#define PW_CHECK_FILE "@KDB5DIR/bad_passwd"
 
 #define DEFAULT_ACL_DIR        "@KDB5DIR"
 #endif /* KRB5_OSCONF__ */