summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMark Eichin <eichin@mit.edu>1995-06-28 00:36:06 +0000
committerMark Eichin <eichin@mit.edu>1995-06-28 00:36:06 +0000
commite2b107dd04c520dad03b27815786408ed8de0fa8 (patch)
treebd0031d61bd33e5d3df55367c19e107a920f2b99 /src
parentbfbe6d389e736541b4aa689bf5117d0fe43ce1b7 (diff)
downloadkrb5-e2b107dd04c520dad03b27815786408ed8de0fa8.tar.gz
krb5-e2b107dd04c520dad03b27815786408ed8de0fa8.tar.xz
krb5-e2b107dd04c520dad03b27815786408ed8de0fa8.zip
* configure.in: *int*_t are likely to collide with native types,
and the int8_t and *int64_t are never used anyway, so push them off to hash/configure.in AC_CHECK_TYPE calls. pgno_t also. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6174 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/util/berk_db/hash/ChangeLog6
-rw-r--r--src/util/berk_db/hash/configure.in9
2 files changed, 14 insertions, 1 deletions
diff --git a/src/util/berk_db/hash/ChangeLog b/src/util/berk_db/hash/ChangeLog
index 23d12cd33..4560a50d1 100644
--- a/src/util/berk_db/hash/ChangeLog
+++ b/src/util/berk_db/hash/ChangeLog
@@ -1,3 +1,9 @@
+Tue Jun 27 20:50:57 1995 Mark Eichin <eichin@cygnus.com>
+
+ * configure.in: *int*_t are likely to collide with native types,
+ and the int8_t and *int64_t are never used anyway, so push them
+ off to hash/configure.in AC_CHECK_TYPE calls. pgno_t also.
+
Tue Jun 27 15:47:56 EDT 1995 Paul Park (pjpark@mit.edu)
* hash.c - Cast 2nd argument to memmove to (char *).
diff --git a/src/util/berk_db/hash/configure.in b/src/util/berk_db/hash/configure.in
index fe854a4ac..c2885e1ac 100644
--- a/src/util/berk_db/hash/configure.in
+++ b/src/util/berk_db/hash/configure.in
@@ -6,7 +6,14 @@ AC_PROG_RANLIB
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
-
+dnl berzerkely types, to avoid collisions.
+AC_CHECK_TYPE(u_int8_t, unsigned char)
+AC_CHECK_TYPE(int16_t, short)
+AC_CHECK_TYPE(u_int16_t, unsigned short)
+AC_CHECK_TYPE(int32_t, int)
+AC_CHECK_TYPE(u_int32_t, unsigned int)
+AC_CHECK_TYPE(pgno_t, u_int32_t)
+dnl
dnl Determine the size of datum and DBT size fields. If they are not the same
dnl then the elements need to be copied.
AC_MSG_CHECKING(size of datum.dsize)