* db-config.h.in: New file; contains useful tidbits from
authorTom Yu <tlyu@mit.edu>
Sat, 1 Jul 2000 15:32:14 +0000 (15:32 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 1 Jul 2000 15:32:14 +0000 (15:32 +0000)
config.h.in generated by autoheader.  It is needed because
config.h.in has some thing we don't want to leak, like renaming of
missing libc functions.

* .cvsignore: Twiddle to reflect current reality.

* db-int.h: #include config.h since db.h includes db-config.h
which is not quite the same now.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12504 dc483132-0cff-0310-8789-dd5450dbe970

src/util/db2/include/.cvsignore
src/util/db2/include/ChangeLog
src/util/db2/include/db-config.h.in [new file with mode: 0644]
src/util/db2/include/db-int.h

index 45eaf928f5e1245a9a6ce130f0d798359b92aec1..e732bf885795eeffd231b3abbea16c5b8a5df1c3 100644 (file)
@@ -1,2 +1,2 @@
-db-config.h.in
-stamp-h.in
+config.h.in
+stamp-h2.in
index 7918ecbe399da8eeb7d886d0db3551a32fabbec8..76b41c24519fb8ed4d2309d1c8452468380a1dd7 100644 (file)
@@ -1,3 +1,15 @@
+2000-07-01  Tom Yu  <tlyu@mit.edu>
+
+       * db-config.h.in: New file; contains useful tidbits from
+       config.h.in generated by autoheader.  It is needed because
+       config.h.in has some thing we don't want to leak, like renaming of
+       missing libc functions.
+
+       * .cvsignore: Twiddle to reflect current reality.
+
+       * db-int.h: #include config.h since db.h includes db-config.h
+       which is not quite the same now.
+
 2000-06-30  Tom Yu  <tlyu@mit.edu>
 
        * db-int.h: Remove renaming for memmove, strerror, mkstemp since
diff --git a/src/util/db2/include/db-config.h.in b/src/util/db2/include/db-config.h.in
new file mode 100644 (file)
index 0000000..c9d585d
--- /dev/null
@@ -0,0 +1,28 @@
+/* include/db-config.h.in.  Derived from autoconf-generated config.h.in. */
+
+/* Define to empty if the keyword does not work.  */
+#undef const
+
+/* Define to `unsigned' if <sys/types.h> doesn't define.  */
+#undef size_t
+
+/* Define if your processor stores words with the most significant
+   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
+#undef WORDS_BIGENDIAN
+
+#undef ssize_t
+
+#undef u_char
+#undef u_short
+#undef u_int
+#undef u_long
+
+#undef int8_t
+#undef u_int8_t
+#undef int16_t
+#undef u_int16_t
+#undef int32_t
+#undef u_int32_t
+
+/* The number of bytes in a int.  */
+#undef SIZEOF_INT
index 4037ab9bceaeb0d531e34ce816f7a8edf7d59f7d..8ce1b15ba41c966d0d898d1316bb1cdea9a233cd 100644 (file)
 #ifndef        _DB_INT_H_
 #define        _DB_INT_H_
 
+#include "config.h"
 #include "db.h"
 
-/* deal with autoconf-based stuff (db.h includes db-config.h) */
+/* deal with autoconf-based stuff */
 
 #define DB_LITTLE_ENDIAN 1234
 #define DB_BIG_ENDIAN 4321