summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMark Eichin <eichin@mit.edu>1994-06-12 05:39:27 +0000
committerMark Eichin <eichin@mit.edu>1994-06-12 05:39:27 +0000
commit40b788935e06b2c9ebf88468e4cfce94f83d33c6 (patch)
tree9ea6727b86e2cd14ec8f4c1b910e5114f541515c /src/include
parent0f251c40ed75cc444ce50168cf6d9c113d032988 (diff)
downloadkrb5-40b788935e06b2c9ebf88468e4cfce94f83d33c6.tar.gz
krb5-40b788935e06b2c9ebf88468e4cfce94f83d33c6.tar.xz
krb5-40b788935e06b2c9ebf88468e4cfce94f83d33c6.zip
avoid collision with imake
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3747 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/Makefile.in13
-rw-r--r--src/include/krb5/stock/confauto.h40
-rw-r--r--src/include/krb5/stock/config.h1
3 files changed, 52 insertions, 2 deletions
diff --git a/src/include/krb5/Makefile.in b/src/include/krb5/Makefile.in
index 598bcb5ac7..214d1546fd 100644
--- a/src/include/krb5/Makefile.in
+++ b/src/include/krb5/Makefile.in
@@ -18,7 +18,7 @@ KRB5_HEADERS = asn1.h base-defs.h ccache.h crc-32.h encryption.h \
narrow.h proto.h rcache.h rsa-md4.h safepriv.h \
sysincl.h widen.h wordsize.h
-all:: autoconf.h
+all:: autoconf.h osconf.h config.h
includes:: autoconf.h
@@ -48,10 +48,19 @@ PROCESS_REPLACE = -e "s+@KRB5ROOT+$(KRB5ROOT)+" \
-e "s+@KRB5SRVTABDIR+${KRB5SRVTABDIR}+" \
-e "/UnifdefRan/,/SPLIT-HERE/d"
-OSCONFSRC = $(srcdir)/stock/osconf.h $(srcdir)/stock/osauto.h
+OSCONFSRC = $(srcdir)/stock/osauto.h $(srcdir)/stock/osconf.h
osconf.h: $(OSCONFSRC)
cat $(OSCONFSRC) | sed $(PROCESS_REPLACE) > osconf.new
if cmp -s osconf.new osconf.h ; then true; \
else $(RM) osconf.h ; $(CP) osconf.new osconf.h ; fi
+CONF_REPLACE = -e "/UnifdefRan/,/SPLIT-HERE/d"
+
+CONFSRC = $(srcdir)/stock/confauto.h $(srcdir)/stock/config.h
+
+config.h: $(CONFSRC)
+ cat $(CONFSRC) | sed $(CONF_REPLACE) > config.new
+ if cmp -s config.new config.h ; then true; \
+ else $(RM) config.h ; $(CP) config.new config.h ; fi
+
diff --git a/src/include/krb5/stock/confauto.h b/src/include/krb5/stock/confauto.h
new file mode 100644
index 0000000000..237ce42252
--- /dev/null
+++ b/src/include/krb5/stock/confauto.h
@@ -0,0 +1,40 @@
+#ifdef UnifdefRan
+/* WARNING: this file is automatically generated; do not edit! */
+#endif
+/*
+ * $Source$
+ * $Author$
+ * $Id$
+ *
+ * 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.
+ *
+ *
+ * Configuration definition file.
+ */
+
+
+#ifndef KRB5_CONFIG__
+#define KRB5_CONFIG__
+
+/**/
+#ifndef KRB5_AUTOCONF__
+#define KRB5_AUTOCONF__
+#include "autoconf.h"
+#endif
diff --git a/src/include/krb5/stock/config.h b/src/include/krb5/stock/config.h
index fe1ade3d22..a8ee2af8c3 100644
--- a/src/include/krb5/stock/config.h
+++ b/src/include/krb5/stock/config.h
@@ -128,6 +128,7 @@ typedef int krb5_sigtype;
#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 */