don't check sizeof(int) at configure time
authorKen Raeburn <raeburn@mit.edu>
Wed, 1 Mar 2006 20:20:08 +0000 (20:20 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 1 Mar 2006 20:20:08 +0000 (20:20 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17689 dc483132-0cff-0310-8789-dd5450dbe970

src/plugins/kdb/db2/libdb2/ChangeLog
src/plugins/kdb/db2/libdb2/configure.in
src/plugins/kdb/db2/libdb2/include/ChangeLog
src/plugins/kdb/db2/libdb2/include/db.h

index 3c6bc71e511500c288ab4fde426202560725ecb9..3d79f52e92cfceb810ab975bd1bfc17b2cd7156f 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-01  Ken Raeburn  <raeburn@mit.edu>
+
+       * configure.in: Don't check size of "int".
+
 2005-12-16  Ken Raeburn  <raeburn@mit.edu>
 
        * Makefile.in (all-unix): Do depend on all-libs.
index 9a339b0bbe2e97d722bd8c69b8ee90a2cd33528d..a0a67bc28ccfbe408bf86f5d3429c8240cdffb49 100644 (file)
@@ -70,7 +70,6 @@ AC_CHECK_HEADERS(endian.h machine/endian.h sys/param.h)
 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_SIZEOF(int)
 
 dnl checks for library functions
 AC_CHECK_FUNC(memmove, ,
index 676bbd44a7c41685e5d52689e5df629e28766b4f..3aa06c70f9ed92804fd8af7c53a0823e96994b39 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-01  Ken Raeburn  <raeburn@mit.edu>
+
+       * db.h: Check UINT_MAX, not SIZEOF_INT.
+
 2004-05-23  Ken Raeburn  <raeburn@mit.edu>
 
        * db-int.h: Include sys/param.h if available.
index 980145a3d98b82a6313b8e9dad212a0e63662651..ad86d0af9cc47166b878eb1f0ccbdd682e42068b 100644 (file)
@@ -78,7 +78,7 @@ typedef enum { DB_BTREE, DB_HASH, DB_RECNO } DBTYPE;
  * is so that the access methods can skip copying the key/data pair when
  * the DB_LOCK flag isn't set.
  */
-#if SIZEOF_INT == 4
+#if UINT_MAX >= 0xffffffffUL
 #define        DB_LOCK         0x20000000      /* Do locking. */
 #define        DB_SHMEM        0x40000000      /* Use shared memory. */
 #define        DB_TXN          0x80000000      /* Do transactions. */