1
/* Define to 1 if you want to build a version for running the test suite. */
2
/* #undef CONFIG_TEST */
4
/* Define to 1 if you want a debugging version. */
12
/* Define to 1 if you want a version that logs read operations. */
13
/* #undef DEBUG_ROP */
15
/* Define to 1 if you want a version that logs write operations. */
16
/* #undef DEBUG_WOP */
18
/* Define to 1 if you want a version with run-time diagnostic checking. */
19
/* #undef DIAGNOSTIC */
21
/* Define to 1 if you have the `clock_gettime' function. */
22
/* #undef HAVE_CLOCK_GETTIME */
24
/* Define to 1 if Berkeley DB release includes strong cryptography. */
25
/* #undef HAVE_CRYPTO */
27
/* Define to 1 if you have the `directio' function. */
28
/* #undef HAVE_DIRECTIO */
30
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
32
/* #undef HAVE_DIRENT_H */
34
/* Define to 1 if you have the <dlfcn.h> header file. */
35
/* #undef HAVE_DLFCN_H */
37
/* Define to 1 if you have EXIT_SUCCESS/EXIT_FAILURE #defines. */
38
#define HAVE_EXIT_SUCCESS 1
40
/* Define to 1 if fcntl/F_SETFD denies child access to file descriptors. */
41
/* #undef HAVE_FCNTL_F_SETFD */
43
/* Define to 1 if allocated filesystem blocks are not zeroed. */
44
#define HAVE_FILESYSTEM_NOTZERO 1
46
/* Define to 1 if you have the `getcwd' function. */
49
/* Define to 1 if you have the `getopt' function. */
50
/* #undef HAVE_GETOPT */
52
/* Define to 1 if you have the `gettimeofday' function. */
53
/* #undef HAVE_GETTIMEOFDAY */
55
/* Define to 1 if you have the `getuid' function. */
56
/* #undef HAVE_GETUID */
58
/* Define to 1 if you have the <inttypes.h> header file. */
59
/* #undef HAVE_INTTYPES_H */
61
/* Define to 1 if you have the `nsl' library (-lnsl). */
62
/* #undef HAVE_LIBNSL */
64
/* Define to 1 if you have the `memcmp' function. */
67
/* Define to 1 if you have the `memcpy' function. */
70
/* Define to 1 if you have the `memmove' function. */
71
#define HAVE_MEMMOVE 1
73
/* Define to 1 if you have the <memory.h> header file. */
74
#define HAVE_MEMORY_H 1
76
/* Define to 1 if you have the `mlock' function. */
77
/* #undef HAVE_MLOCK */
79
/* Define to 1 if you have the `mmap' function. */
80
/* #undef HAVE_MMAP */
82
/* Define to 1 if you have the `munlock' function. */
83
/* #undef HAVE_MUNLOCK */
85
/* Define to 1 if you have the `munmap' function. */
86
/* #undef HAVE_MUNMAP */
88
/* Define to 1 to use the GCC compiler and 68K assembly language mutexes. */
89
/* #undef HAVE_MUTEX_68K_GCC_ASSEMBLY */
91
/* Define to 1 to use the AIX _check_lock mutexes. */
92
/* #undef HAVE_MUTEX_AIX_CHECK_LOCK */
94
/* Define to 1 to use the GCC compiler and Alpha assembly language mutexes. */
95
/* #undef HAVE_MUTEX_ALPHA_GCC_ASSEMBLY */
97
/* Define to 1 to use the GCC compiler and ARM assembly language mutexes. */
98
/* #undef HAVE_MUTEX_ARM_GCC_ASSEMBLY */
100
/* Define to 1 to use the UNIX fcntl system call mutexes. */
101
/* #undef HAVE_MUTEX_FCNTL */
103
/* Define to 1 to use the GCC compiler and PaRisc assembly language mutexes.
105
/* #undef HAVE_MUTEX_HPPA_GCC_ASSEMBLY */
107
/* Define to 1 to use the msem_XXX mutexes on HP-UX. */
108
/* #undef HAVE_MUTEX_HPPA_MSEM_INIT */
110
/* Define to 1 to use the GCC compiler and IA64 assembly language mutexes. */
111
/* #undef HAVE_MUTEX_IA64_GCC_ASSEMBLY */
113
/* Define to 1 to use the msem_XXX mutexes on systems other than HP-UX. */
114
/* #undef HAVE_MUTEX_MSEM_INIT */
116
/* Define to 1 to use the GCC compiler and Apple PowerPC assembly language. */
117
/* #undef HAVE_MUTEX_PPC_APPLE_GCC_ASSEMBLY */
119
/* Define to 1 to use the GCC compiler and generic PowerPC assembly language.
121
/* #undef HAVE_MUTEX_PPC_GENERIC_GCC_ASSEMBLY */
123
/* Define to 1 to use POSIX 1003.1 pthread_XXX mutexes. */
124
/* #undef HAVE_MUTEX_PTHREADS */
126
/* Define to 1 to use Reliant UNIX initspin mutexes. */
127
/* #undef HAVE_MUTEX_RELIANTUNIX_INITSPIN */
129
/* Define to 1 to use the GCC compiler and S/390 assembly language mutexes. */
130
/* #undef HAVE_MUTEX_S390_GCC_ASSEMBLY */
132
/* Define to 1 to use the SCO compiler and x86 assembly language mutexes. */
133
/* #undef HAVE_MUTEX_SCO_X86_CC_ASSEMBLY */
135
/* Define to 1 to use the obsolete POSIX 1003.1 sema_XXX mutexes. */
136
/* #undef HAVE_MUTEX_SEMA_INIT */
138
/* Define to 1 to use the SGI XXX_lock mutexes. */
139
/* #undef HAVE_MUTEX_SGI_INIT_LOCK */
141
/* Define to 1 to use the Solaris _lock_XXX mutexes. */
142
/* #undef HAVE_MUTEX_SOLARIS_LOCK_TRY */
144
/* Define to 1 to use the Solaris lwp threads mutexes. */
145
/* #undef HAVE_MUTEX_SOLARIS_LWP */
147
/* Define to 1 to use the GCC compiler and Sparc assembly language mutexes. */
148
/* #undef HAVE_MUTEX_SPARC_GCC_ASSEMBLY */
150
/* Define to 1 if mutexes hold system resources. */
151
/* #undef HAVE_MUTEX_SYSTEM_RESOURCES */
153
/* Define to 1 if fast mutexes are available. */
154
#define HAVE_MUTEX_THREADS 1
156
/* Define to 1 to configure mutexes intra-process only. */
157
/* #undef HAVE_MUTEX_THREAD_ONLY */
159
/* Define to 1 to use the UNIX International mutexes. */
160
/* #undef HAVE_MUTEX_UI_THREADS */
162
/* Define to 1 to use the UTS compiler and assembly language mutexes. */
163
/* #undef HAVE_MUTEX_UTS_CC_ASSEMBLY */
165
/* Define to 1 to use VMS mutexes. */
166
/* #undef HAVE_MUTEX_VMS */
168
/* Define to 1 to use VxWorks mutexes. */
169
/* #undef HAVE_MUTEX_VXWORKS */
171
/* Define to 1 to use Windows mutexes. */
172
#define HAVE_MUTEX_WIN32 1
174
/* Define to 1 to use the GCC compiler and x86 assembly language mutexes. */
175
/* #undef HAVE_MUTEX_X86_GCC_ASSEMBLY */
177
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
178
/* #undef HAVE_NDIR_H */
180
/* Define to 1 if you have the O_DIRECT flag. */
181
/* #undef HAVE_O_DIRECT */
183
/* Define to 1 if you have the `pread' function. */
184
/* #undef HAVE_PREAD */
186
/* Define to 1 if you have the `pstat_getdynamic' function. */
187
/* #undef HAVE_PSTAT_GETDYNAMIC */
189
/* Define to 1 if you have the `pwrite' function. */
190
/* #undef HAVE_PWRITE */
192
/* Define to 1 if building on QNX. */
193
/* #undef HAVE_QNX */
195
/* Define to 1 if you have the `qsort' function. */
198
/* Define to 1 if you have the `raise' function. */
201
/* Define to 1 if building RPC client/server. */
202
/* #undef HAVE_RPC */
204
/* Define to 1 if you have the `sched_yield' function. */
205
/* #undef HAVE_SCHED_YIELD */
207
/* Define to 1 if you have the `select' function. */
208
/* #undef HAVE_SELECT */
210
/* Define to 1 if you have the `shmget' function. */
211
/* #undef HAVE_SHMGET */
213
/* Define to 1 if you have the `snprintf' function. */
214
#define HAVE_SNPRINTF 1
216
/* Define to 1 if you have the <stdint.h> header file. */
217
/* #undef HAVE_STDINT_H */
219
/* Define to 1 if you have the <stdlib.h> header file. */
220
#define HAVE_STDLIB_H 1
222
/* Define to 1 if you have the `strcasecmp' function. */
223
/* #undef HAVE_STRCASECMP */
225
/* Define to 1 if you have the `strdup' function. */
226
#define HAVE_STRDUP 1
228
/* Define to 1 if you have the `strerror' function. */
229
#define HAVE_STRERROR 1
231
/* Define to 1 if you have the <strings.h> header file. */
232
#define HAVE_STRINGS_H 1
234
/* Define to 1 if you have the <string.h> header file. */
235
#define HAVE_STRING_H 1
237
/* Define to 1 if you have the `strtoul' function. */
238
#define HAVE_STRTOUL 1
240
/* Define to 1 if `st_blksize' is member of `struct stat'. */
241
/* #undef HAVE_STRUCT_STAT_ST_BLKSIZE */
243
/* Define to 1 if you have the `sysconf' function. */
244
/* #undef HAVE_SYSCONF */
246
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
248
/* #undef HAVE_SYS_DIR_H */
250
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
252
/* #undef HAVE_SYS_NDIR_H */
254
/* Define to 1 if you have the <sys/select.h> header file. */
255
/* #undef HAVE_SYS_SELECT_H */
257
/* Define to 1 if you have the <sys/stat.h> header file. */
258
#define HAVE_SYS_STAT_H 1
260
/* Define to 1 if you have the <sys/time.h> header file. */
261
/* #undef HAVE_SYS_TIME_H */
263
/* Define to 1 if you have the <sys/types.h> header file. */
264
#define HAVE_SYS_TYPES_H 1
266
/* Define to 1 if you have the <unistd.h> header file. */
267
/* #undef HAVE_UNISTD_H */
269
/* Define to 1 if unlink of file with open file descriptors will fail. */
270
/* #undef HAVE_UNLINK_WITH_OPEN_FAILURE */
272
/* Define to 1 if you have the `vsnprintf' function. */
273
#define HAVE_VSNPRINTF 1
275
/* Define to 1 if building VxWorks. */
276
/* #undef HAVE_VXWORKS */
278
/* Define to 1 if you have the `yield' function. */
279
/* #undef HAVE_YIELD */
281
/* Define to 1 if you have the `_fstati64' function. */
282
#define HAVE__FSTATI64 1
284
/* Define to the address where bug reports for this package should be sent. */
285
#define PACKAGE_BUGREPORT "support@sleepycat.com"
287
/* Define to the full name of this package. */
288
#define PACKAGE_NAME "Berkeley DB"
290
/* Define to the full name and version of this package. */
291
#define PACKAGE_STRING "Berkeley DB __EDIT_DB_VERSION__"
293
/* Define to the one symbol short name of this package. */
294
#define PACKAGE_TARNAME "db-__EDIT_DB_VERSION__"
296
/* Define to the version of this package. */
297
#define PACKAGE_VERSION "__EDIT_DB_VERSION__"
299
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
300
/* #undef STAT_MACROS_BROKEN */
302
/* Define to 1 if you have the ANSI C header files. */
303
#define STDC_HEADERS 1
305
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
306
/* #undef TIME_WITH_SYS_TIME */
308
/* Define to 1 to mask harmless unitialized memory read/writes. */
311
/* Number of bits in a file offset, on hosts where this is settable. */
312
/* #undef _FILE_OFFSET_BITS */
314
/* Define for large files, on AIX-style hosts. */
315
/* #undef _LARGE_FILES */
317
/* Define to empty if `const' does not conform to ANSI C. */
321
* Exit success/failure macros.
323
#ifndef HAVE_EXIT_SUCCESS
324
#define EXIT_FAILURE 1
325
#define EXIT_SUCCESS 0
329
* Don't step on the namespace. Other libraries may have their own
330
* implementations of these functions, we don't want to use their
331
* implementations or force them to use ours based on the load order.
334
#define getcwd __db_Cgetcwd
337
#define memcmp __db_Cmemcmp
340
#define memcpy __db_Cmemcpy
343
#define memmove __db_Cmemmove
346
#define raise __db_Craise
348
#ifndef HAVE_SNPRINTF
349
#define snprintf __db_Csnprintf
351
#ifndef HAVE_STRCASECMP
352
#define strcasecmp __db_Cstrcasecmp
353
#define strncasecmp __db_Cstrncasecmp
355
#ifndef HAVE_STRERROR
356
#define strerror __db_Cstrerror
358
#ifndef HAVE_VSNPRINTF
359
#define vsnprintf __db_Cvsnprintf
364
* The following is not part of the automatic configuration setup, but
365
* provides the information necessary to build Berkeley DB on Windows.
367
#include <sys/types.h>
368
#include <sys/stat.h>
383
* To build Tcl interface libraries, the include path must be configured to
384
* use the directory containing <tcl.h>, usually the include directory in
385
* the Tcl distribution.
387
#ifdef DB_TCL_SUPPORT
391
#define WIN32_LEAN_AND_MEAN
395
* All of the necessary includes have been included, ignore the #includes
396
* in the Berkeley DB source files.
398
#define NO_SYSTEM_INCLUDES
401
* Win32 has getcwd, snprintf and vsnprintf, but under different names.
403
#define getcwd(buf, size) _getcwd(buf, size)
404
#define snprintf _snprintf
405
#define vsnprintf _vsnprintf
408
* Win32 does not define getopt and friends in any header file, so we must.
410
#if defined(__cplusplus)
415
extern int getopt(int, char * const *, const char *);
416
#if defined(__cplusplus)
421
* We use DB_WIN32 much as one would use _WIN32, to determine that we're
422
* using an operating system environment that supports Win32 calls
423
* and semantics. We don't use _WIN32 because cygwin/gcc also defines
424
* that, even though it closely emulates the Unix environment.
429
* This is a grievous hack -- once we've included windows.h, we have no choice
430
* but to use ANSI-style varargs (because it pulls in stdarg.h for us). DB's
431
* code decides which type of varargs to use based on the state of __STDC__.
432
* Sensible. Unfortunately, Microsoft's compiler _doesn't_ define __STDC__
433
* unless you invoke it with arguments turning OFF all vendor extensions. Even
434
* more unfortunately, if we do that, it fails to parse windows.h!!!!! So, we
435
* define __STDC__ here, after windows.h comes in. Note: the compiler knows
436
* we've defined it, and starts enforcing strict ANSI compilance from this point