Use k5-platform.h instead of local configure to find mkstemp
authorKen Raeburn <raeburn@mit.edu>
Wed, 20 Jun 2007 04:29:06 +0000 (04:29 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 20 Jun 2007 04:29:06 +0000 (04:29 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19604 dc483132-0cff-0310-8789-dd5450dbe970

src/plugins/kdb/db2/libdb2/btree/Makefile.in
src/plugins/kdb/db2/libdb2/btree/bt_open.c
src/plugins/kdb/db2/libdb2/configure.in

index 2b9d86d85b97b6f38183a894b0b3dde9f3eabf8e..82b4839db7458568f67854f7e90da4337bb90f2c 100644 (file)
@@ -45,10 +45,12 @@ bt_get.so bt_get.po $(OUTPRE)bt_get.$(OBJEXT): $(BUILDTOP)/include/db-config.h \
   $(srcdir)/../include/db-int.h $(srcdir)/../include/db-queue.h \
   $(srcdir)/../include/db.h $(srcdir)/../mpool/mpool.h \
   ../include/config.h bt_get.c btree.h extern.h
-bt_open.so bt_open.po $(OUTPRE)bt_open.$(OBJEXT): $(BUILDTOP)/include/db-config.h \
-  $(srcdir)/../include/db-int.h $(srcdir)/../include/db-queue.h \
-  $(srcdir)/../include/db.h $(srcdir)/../mpool/mpool.h \
-  ../include/config.h bt_open.c btree.h extern.h
+bt_open.so bt_open.po $(OUTPRE)bt_open.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
+  $(BUILDTOP)/include/db-config.h $(SRCTOP)/include/k5-platform.h \
+  $(SRCTOP)/include/k5-thread.h $(srcdir)/../include/db-int.h \
+  $(srcdir)/../include/db-queue.h $(srcdir)/../include/db.h \
+  $(srcdir)/../mpool/mpool.h ../include/config.h bt_open.c \
+  btree.h extern.h
 bt_overflow.so bt_overflow.po $(OUTPRE)bt_overflow.$(OBJEXT): \
   $(BUILDTOP)/include/db-config.h $(srcdir)/../include/db-int.h \
   $(srcdir)/../include/db-queue.h $(srcdir)/../include/db.h \
index 3e4c67a4bc7ae3b90b582cd0cb8aca18bcd16061..dbdaff9e0a2b327113e55016128938aab4130427 100644 (file)
@@ -58,6 +58,8 @@ static char sccsid[] = "@(#)bt_open.c 8.11 (Berkeley) 11/2/95";
 #include <string.h>
 #include <unistd.h>
 
+#include "k5-platform.h"       /* mkstemp? */
+
 #include "db-int.h"
 #include "btree.h"
 
index 6f27d36439216980873cc34c96462f2fdbbbc0db..fe1a08fa56d9ff4fbf8c4c0a727662aa45a42165 100644 (file)
@@ -69,9 +69,6 @@ dnl sys/param.h for AIX 4.3.3 (actually sys/machine.h)
 dnl There's also sys/endian.h on IRIX, but we already check _MIPSE{L,B}.
 AC_C_CONST
 
-AC_CHECK_FUNC(mkstemp, ,
-[AC_DEFINE(mkstemp, krb5int_mkstemp,[Define to \`krb5int_mkstemp' to use private mkstemp function])])
-
 KRB5_BUILD_LIBRARY
 KRB5_BUILD_LIBOBJS
 KRB5_BUILD_PROGRAM