+Wed Aug 28 17:25:10 1996 Tom Yu <tlyu@mit.edu>
+
+ * configure.in: Add check for SIZEOF_INT.
+
+ * include/db.h: Check SIZEOF_INT rather than UINT_MAX; it's broken
+ under Ultrix.
+
Thu Aug 22 23:13:32 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* Makefile.in: Add dummy rule for Makefiles.
AC_CHECK_TYPE(u_int16_t, unsigned short)
AC_CHECK_TYPE(int32_t, int)
AC_CHECK_TYPE(u_int32_t, unsigned int)
+
dnl checks for structures
dnl checks for compiler characteristics
AC_C_BIGENDIAN
AC_C_CONST
+AC_CHECK_SIZEOF(int)
dnl checks for library functions
AC_CHECK_FUNC(memmove,,MEMMOVE_OBJ=memmove.o)
AC_CHECK_FUNC(mkstemp,,MKSTEMP_OBJ=mkstemp.o)
* is so that the access methods can skip copying the key/data pair when
* the DB_LOCK flag isn't set.
*/
-#if UINT_MAX > 65535
+#if SIZEOF_INT == 4
#define DB_LOCK 0x20000000 /* Do locking. */
#define DB_SHMEM 0x40000000 /* Use shared memory. */
#define DB_TXN 0x80000000 /* Do transactions. */