+
+Tue May 30 10:41:23 EDT 1995 Paul Park (pjpark@mit.edu)
+ * configure.in: Check for sys/cdefs.h.
+ * Makefile.in: If sys/cdefs.h present, don't use the one in PORT/krb5.
+
Tue May 30 09:53:05 1995 Ezra Peisach (epeisach@kangaroo.mit.edu)
* krb5_ndbm.c: If the size field of datum and DBT do not match,
##DOSLIBNAME=..\db.lib
##DOS!include $(BUILDTOP)\config\windows.in
-LOCALINCLUDE=-I$(srcdir)/../PORT/krb5 \
+CDEFS_INCLUDE = @CDEFS_INCLUDE@
+
+LOCALINCLUDE=$(CDEFS_INCLUDE) \
-I$(srcdir)/../PORT/krb5/include \
-I$(srcdir)/../PORT/include \
-I$(srcdir)/../include \
AC_HAVE_FUNCS(mktemp mkstemp)
CHECK_SIGNALS
+dnl
+dnl Check for sys/cdefs.h.
+dnl
+CDEFS_INCLUDE=["-I$(srcdir)/../PORT/krb5"]
+AC_HAVE_HEADERS(sys/cdefs.h, CDEFS_INCLUDE=)
+AC_SUBST(CDEFS_INCLUDE)
SubdirLibraryRule([$(OBJS)])
KRB_INCLUDE
V5_AC_OUTPUT_MAKEFILE
+
+Tue May 30 10:42:06 EDT 1995 Paul Park (pjpark@mit.edu)
+ * configure.in: Check for sys/cdefs.h.
+ * Makefile.in: If sys/cdefs.h present, don't use the one in PORT/krb5.
+
Tue May 30 06:30:08 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* Makefile.in (CFLAGS): Added $(DEFS) so that configure determined
# Uncomment the STAT line get hash and btree statistical use info. This
# also forces ld to load the btree debug functions for use by gdb, which
# is useful. The db library has to be compiled with -DSTATISTICS as well.
-INC= -I${PORTDIR}/include -I${PORTDIR} -I${PORTDIR}/../../include -I${PORTDIR}/../../../include
+CDEFS_INCLUDE = @CDEFS_INCLUDE@
+INC= -I${PORTDIR}/include $(CDEFS_INCLUDE) -I${PORTDIR}/../../include -I${PORTDIR}/../../../include
OORG= -g
#STAT= -DSTATISTICS
CFLAGS= -D__DBINTERFACE_PRIVATE -DDEBUG ${STAT} ${OORG} ${INC} ${DEFS}
WITH_KRB5ROOT
CONFIG_RULES
CHECK_SIGNALS
+dnl
+dnl Check for sys/cdefs.h.
+dnl
+CDEFS_INCLUDE=["-I$(PORTDIR)"]
+AC_HAVE_HEADERS(sys/cdefs.h, CDEFS_INCLUDE=)
+AC_SUBST(CDEFS_INCLUDE)
V5_AC_OUTPUT_MAKEFILE