00001 /* DO NOT EDIT: automatically built by dist/s_vxworks. */ 00002 /* !!! 00003 * The CONFIG_TEST option may be added using the Tornado project build. 00004 * DO NOT modify it here. 00005 */ 00006 /* Define to 1 if you want to build a version for running the test suite. */ 00007 /* #undef CONFIG_TEST */ 00008 00009 /* We use DB_WIN32 much as one would use _WIN32 -- to specify that we're using 00010 an operating system environment that supports Win32 calls and semantics. We 00011 don't use _WIN32 because Cygwin/GCC also defines _WIN32, even though 00012 Cygwin/GCC closely emulates the Unix environment. */ 00013 /* #undef DB_WIN32 */ 00014 00015 /* !!! 00016 * The DEBUG option may be added using the Tornado project build. 00017 * DO NOT modify it here. 00018 */ 00019 /* Define to 1 if you want a debugging version. */ 00020 /* #undef DEBUG */ 00021 00022 /* Define to 1 if you want a version that logs read operations. */ 00023 /* #undef DEBUG_ROP */ 00024 00025 /* Define to 1 if you want a version that logs write operations. */ 00026 /* #undef DEBUG_WOP */ 00027 00028 /* !!! 00029 * The DIAGNOSTIC option may be added using the Tornado project build. 00030 * DO NOT modify it here. 00031 */ 00032 /* Define to 1 if you want a version with run-time diagnostic checking. */ 00033 /* #undef DIAGNOSTIC */ 00034 00035 /* Define to 1 if 64-bit types are available. */ 00036 #define HAVE_64BIT_TYPES 1 00037 00038 /* Define to 1 if you have the `clock_gettime' function. */ 00039 #define HAVE_CLOCK_GETTIME 1 00040 00041 /* Define to 1 if Berkeley DB release includes strong cryptography. */ 00042 #define HAVE_CRYPTO 1 00043 00044 /* Define to 1 if you have the `directio' function. */ 00045 /* #undef HAVE_DIRECTIO */ 00046 00047 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 00048 */ 00049 #define HAVE_DIRENT_H 1 00050 00051 /* Define to 1 if you have the <dlfcn.h> header file. */ 00052 /* #undef HAVE_DLFCN_H */ 00053 00054 /* Define to 1 if you have EXIT_SUCCESS/EXIT_FAILURE #defines. */ 00055 #define HAVE_EXIT_SUCCESS 1 00056 00057 /* Define to 1 if you have the `fchmod' function. */ 00058 /* #undef HAVE_FCHMOD */ 00059 00060 /* Define to 1 if you have the `fcntl' function. */ 00061 /* #undef HAVE_FCNTL */ 00062 00063 /* Define to 1 if fcntl/F_SETFD denies child access to file descriptors. */ 00064 /* #undef HAVE_FCNTL_F_SETFD */ 00065 00066 /* Define to 1 if you have the `fdatasync' function. */ 00067 /* #undef HAVE_FDATASYNC */ 00068 00069 /* Define to 1 if allocated filesystem blocks are not zeroed. */ 00070 #define HAVE_FILESYSTEM_NOTZERO 1 00071 00072 /* Define to 1 if you have the `ftruncate' function. */ 00073 #define HAVE_FTRUNCATE 1 00074 00075 /* Define to 1 if you have the `getcwd' function. */ 00076 #define HAVE_GETCWD 1 00077 00078 /* Define to 1 if you have the `getopt' function. */ 00079 /* #undef HAVE_GETOPT */ 00080 00081 /* Define to 1 if you have the `getrusage' function. */ 00082 /* #undef HAVE_GETRUSAGE */ 00083 00084 /* Define to 1 if you have the `gettimeofday' function. */ 00085 /* #undef HAVE_GETTIMEOFDAY */ 00086 00087 /* Define to 1 if you have the `getuid' function. */ 00088 /* #undef HAVE_GETUID */ 00089 00090 /* Define to 1 if building Hash access method. */ 00091 #define HAVE_HASH 1 00092 00093 /* Define to 1 if thread identifier type db_threadid_t is integral. */ 00094 #define HAVE_INTEGRAL_THREAD_TYPE 1 00095 00096 /* Define to 1 if you have the <inttypes.h> header file. */ 00097 /* #undef HAVE_INTTYPES_H */ 00098 00099 /* Define to 1 if you have the `nsl' library (-lnsl). */ 00100 /* #undef HAVE_LIBNSL */ 00101 00102 /* Define to 1 if you have the `memcmp' function. */ 00103 #define HAVE_MEMCMP 1 00104 00105 /* Define to 1 if you have the `memcpy' function. */ 00106 #define HAVE_MEMCPY 1 00107 00108 /* Define to 1 if you have the `memmove' function. */ 00109 #define HAVE_MEMMOVE 1 00110 00111 /* Define to 1 if you have the <memory.h> header file. */ 00112 #define HAVE_MEMORY_H 1 00113 00114 /* Define to 1 if you have the `mlock' function. */ 00115 /* #undef HAVE_MLOCK */ 00116 00117 /* Define to 1 if you have the `mmap' function. */ 00118 /* #undef HAVE_MMAP */ 00119 00120 /* Define to 1 if you have the `munlock' function. */ 00121 /* #undef HAVE_MUNLOCK */ 00122 00123 /* Define to 1 if you have the `munmap' function. */ 00124 /* #undef HAVE_MUNMAP */ 00125 00126 /* Define to 1 to use the GCC compiler and 68K assembly language mutexes. */ 00127 /* #undef HAVE_MUTEX_68K_GCC_ASSEMBLY */ 00128 00129 /* Define to 1 to use the AIX _check_lock mutexes. */ 00130 /* #undef HAVE_MUTEX_AIX_CHECK_LOCK */ 00131 00132 /* Define to 1 to use the GCC compiler and Alpha assembly language mutexes. */ 00133 /* #undef HAVE_MUTEX_ALPHA_GCC_ASSEMBLY */ 00134 00135 /* Define to 1 to use the GCC compiler and ARM assembly language mutexes. */ 00136 /* #undef HAVE_MUTEX_ARM_GCC_ASSEMBLY */ 00137 00138 /* Define to 1 to use the Apple/Darwin _spin_lock_try mutexes. */ 00139 /* #undef HAVE_MUTEX_DARWIN_SPIN_LOCK_TRY */ 00140 00141 /* Define to 1 to use the UNIX fcntl system call mutexes. */ 00142 /* #undef HAVE_MUTEX_FCNTL */ 00143 00144 /* Define to 1 to use the GCC compiler and PaRisc assembly language mutexes. 00145 */ 00146 /* #undef HAVE_MUTEX_HPPA_GCC_ASSEMBLY */ 00147 00148 /* Define to 1 to use the msem_XXX mutexes on HP-UX. */ 00149 /* #undef HAVE_MUTEX_HPPA_MSEM_INIT */ 00150 00151 /* Define to 1 to use the GCC compiler and IA64 assembly language mutexes. */ 00152 /* #undef HAVE_MUTEX_IA64_GCC_ASSEMBLY */ 00153 00154 /* Define to 1 to use the GCC compiler and MIPS assembly language mutexes. */ 00155 /* #undef HAVE_MUTEX_MIPS_GCC_ASSEMBLY */ 00156 00157 /* Define to 1 to use the msem_XXX mutexes on systems other than HP-UX. */ 00158 /* #undef HAVE_MUTEX_MSEM_INIT */ 00159 00160 /* Define to 1 to use the GCC compiler and PowerPC assembly language mutexes. 00161 */ 00162 /* #undef HAVE_MUTEX_PPC_GCC_ASSEMBLY */ 00163 00164 /* Define to 1 to use POSIX 1003.1 pthread_XXX mutexes. */ 00165 /* #undef HAVE_MUTEX_PTHREADS */ 00166 00167 /* Define to 1 to use Reliant UNIX initspin mutexes. */ 00168 /* #undef HAVE_MUTEX_RELIANTUNIX_INITSPIN */ 00169 00170 /* Define to 1 to use the IBM C compiler and S/390 assembly language mutexes. 00171 */ 00172 /* #undef HAVE_MUTEX_S390_CC_ASSEMBLY */ 00173 00174 /* Define to 1 to use the GCC compiler and S/390 assembly language mutexes. */ 00175 /* #undef HAVE_MUTEX_S390_GCC_ASSEMBLY */ 00176 00177 /* Define to 1 to use the SCO compiler and x86 assembly language mutexes. */ 00178 /* #undef HAVE_MUTEX_SCO_X86_CC_ASSEMBLY */ 00179 00180 /* Define to 1 to use the obsolete POSIX 1003.1 sema_XXX mutexes. */ 00181 /* #undef HAVE_MUTEX_SEMA_INIT */ 00182 00183 /* Define to 1 to use the SGI XXX_lock mutexes. */ 00184 /* #undef HAVE_MUTEX_SGI_INIT_LOCK */ 00185 00186 /* Define to 1 to use the Solaris _lock_XXX mutexes. */ 00187 /* #undef HAVE_MUTEX_SOLARIS_LOCK_TRY */ 00188 00189 /* Define to 1 to use the Solaris lwp threads mutexes. */ 00190 /* #undef HAVE_MUTEX_SOLARIS_LWP */ 00191 00192 /* Define to 1 to use the GCC compiler and Sparc assembly language mutexes. */ 00193 /* #undef HAVE_MUTEX_SPARC_GCC_ASSEMBLY */ 00194 00195 /* Define to 1 if mutexes hold system resources. */ 00196 #define HAVE_MUTEX_SYSTEM_RESOURCES 1 00197 00198 /* Define to 1 to configure mutexes intra-process only. */ 00199 /* #undef HAVE_MUTEX_THREAD_ONLY */ 00200 00201 /* Define to 1 to use the CC compiler and Tru64 assembly language mutexes. */ 00202 /* #undef HAVE_MUTEX_TRU64_CC_ASSEMBLY */ 00203 00204 /* Define to 1 to use the UNIX International mutexes. */ 00205 /* #undef HAVE_MUTEX_UI_THREADS */ 00206 00207 /* Define to 1 to use the UTS compiler and assembly language mutexes. */ 00208 /* #undef HAVE_MUTEX_UTS_CC_ASSEMBLY */ 00209 00210 /* Define to 1 to use VMS mutexes. */ 00211 /* #undef HAVE_MUTEX_VMS */ 00212 00213 /* Define to 1 to use VxWorks mutexes. */ 00214 #define HAVE_MUTEX_VXWORKS 1 00215 00216 /* Define to 1 to use the MSVC compiler and Windows mutexes. */ 00217 /* #undef HAVE_MUTEX_WIN32 */ 00218 00219 /* Define to 1 to use the GCC compiler and Windows mutexes. */ 00220 /* #undef HAVE_MUTEX_WIN32_GCC */ 00221 00222 /* Define to 1 to use the GCC compiler and amd64 assembly language mutexes. */ 00223 /* #undef HAVE_MUTEX_X86_64_GCC_ASSEMBLY */ 00224 00225 /* Define to 1 to use the GCC compiler and x86 assembly language mutexes. */ 00226 /* #undef HAVE_MUTEX_X86_GCC_ASSEMBLY */ 00227 00228 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ 00229 /* #undef HAVE_NDIR_H */ 00230 00231 /* Define to 1 if you have the O_DIRECT flag. */ 00232 /* #undef HAVE_O_DIRECT */ 00233 00234 /* Define to 1 if you have the `pread' function. */ 00235 /* #undef HAVE_PREAD */ 00236 00237 /* Define to 1 if you have the `pstat_getdynamic' function. */ 00238 /* #undef HAVE_PSTAT_GETDYNAMIC */ 00239 00240 /* Define to 1 if you have the `pthread_self' function. */ 00241 /* #undef HAVE_PTHREAD_SELF */ 00242 00243 /* Define to 1 if you have the `pwrite' function. */ 00244 /* #undef HAVE_PWRITE */ 00245 00246 /* Define to 1 if building on QNX. */ 00247 /* #undef HAVE_QNX */ 00248 00249 /* Define to 1 if building Queue access method. */ 00250 #define HAVE_QUEUE 1 00251 00252 /* Define to 1 if you have the `raise' function. */ 00253 #define HAVE_RAISE 1 00254 00255 /* Define to 1 if you have the `rand' function. */ 00256 #define HAVE_RAND 1 00257 00258 /* Define to 1 if building replication support. */ 00259 #define HAVE_REPLICATION 1 00260 00261 /* Define to 1 if building RPC client/server. */ 00262 /* #undef HAVE_RPC */ 00263 00264 /* Define to 1 if you have the `sched_yield' function. */ 00265 #define HAVE_SCHED_YIELD 1 00266 00267 /* Define to 1 if you have the `select' function. */ 00268 #define HAVE_SELECT 1 00269 00270 /* Define to 1 if building sequence support. */ 00271 /* #undef HAVE_SEQUENCE */ 00272 00273 /* Define to 1 if you have the `shmget' function. */ 00274 /* #undef HAVE_SHMGET */ 00275 00276 /* Define to 1 if you have the `snprintf' function. */ 00277 /* #undef HAVE_SNPRINTF */ 00278 00279 /* Define to 1 if you have the `srand' function. */ 00280 #define HAVE_SRAND 1 00281 00282 /* Define to 1 if building statistics support. */ 00283 #define HAVE_STATISTICS 1 00284 00285 /* Define to 1 if you have the <stdint.h> header file. */ 00286 /* #undef HAVE_STDINT_H */ 00287 00288 /* Define to 1 if you have the <stdlib.h> header file. */ 00289 #define HAVE_STDLIB_H 1 00290 00291 /* Define to 1 if you have the `strcasecmp' function. */ 00292 /* #undef HAVE_STRCASECMP */ 00293 00294 /* Define to 1 if you have the `strdup' function. */ 00295 /* #undef HAVE_STRDUP */ 00296 00297 /* Define to 1 if you have the `strerror' function. */ 00298 #define HAVE_STRERROR 1 00299 00300 /* Define to 1 if you have the <strings.h> header file. */ 00301 #define HAVE_STRINGS_H 1 00302 00303 /* Define to 1 if you have the <string.h> header file. */ 00304 #define HAVE_STRING_H 1 00305 00306 /* Define to 1 if you have the `strtol' function. */ 00307 #define HAVE_STRTOL 1 00308 00309 /* Define to 1 if you have the `strtoul' function. */ 00310 #define HAVE_STRTOUL 1 00311 00312 /* Define to 1 if `st_blksize' is member of `struct stat'. */ 00313 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 00314 00315 /* Define to 1 if you have the `sysconf' function. */ 00316 /* #undef HAVE_SYSCONF */ 00317 00318 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. 00319 */ 00320 /* #undef HAVE_SYS_DIR_H */ 00321 00322 /* Define to 1 if you have the <sys/fcntl.h> header file. */ 00323 /* #undef HAVE_SYS_FCNTL_H */ 00324 00325 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. 00326 */ 00327 /* #undef HAVE_SYS_NDIR_H */ 00328 00329 /* Define to 1 if you have the <sys/select.h> header file. */ 00330 /* #undef HAVE_SYS_SELECT_H */ 00331 00332 /* Define to 1 if you have the <sys/stat.h> header file. */ 00333 /* #undef HAVE_SYS_STAT_H */ 00334 00335 /* Define to 1 if you have the <sys/time.h> header file. */ 00336 /* #undef HAVE_SYS_TIME_H */ 00337 00338 /* Define to 1 if you have the <sys/types.h> header file. */ 00339 /* #undef HAVE_SYS_TYPES_H */ 00340 00341 /* Define to 1 if you have the <unistd.h> header file. */ 00342 #define HAVE_UNISTD_H 1 00343 00344 /* Define to 1 if unlink of file with open file descriptors will fail. */ 00345 #define HAVE_UNLINK_WITH_OPEN_FAILURE 1 00346 00347 /* Define to 1 if building access method verification support. */ 00348 #define HAVE_VERIFY 1 00349 00350 /* Define to 1 if you have the `vsnprintf' function. */ 00351 /* #undef HAVE_VSNPRINTF */ 00352 00353 /* Define to 1 if building VxWorks. */ 00354 #define HAVE_VXWORKS 1 00355 00356 /* Define to 1 if you have the `yield' function. */ 00357 /* #undef HAVE_YIELD */ 00358 00359 /* Define to 1 if you have the `_fstati64' function. */ 00360 /* #undef HAVE__FSTATI64 */ 00361 00362 /* Define to the address where bug reports for this package should be sent. */ 00363 #define PACKAGE_BUGREPORT "[email protected]" 00364 00365 /* Define to the full name of this package. */ 00366 #define PACKAGE_NAME "Berkeley DB" 00367 00368 /* Define to the full name and version of this package. */ 00369 #define PACKAGE_STRING "Berkeley DB 4.4.16" 00370 00371 /* Define to the one symbol short name of this package. */ 00372 #define PACKAGE_TARNAME "db-4.4.16" 00373 00374 /* Define to the version of this package. */ 00375 #define PACKAGE_VERSION "4.4.16" 00376 00377 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 00378 /* #undef STAT_MACROS_BROKEN */ 00379 00380 /* Define to 1 if you have the ANSI C header files. */ 00381 #define STDC_HEADERS 1 00382 00383 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 00384 /* #undef TIME_WITH_SYS_TIME */ 00385 00386 /* Define to 1 to mask harmless uninitialized memory read/writes. */ 00387 /* #undef UMRW */ 00388 00389 /* Number of bits in a file offset, on hosts where this is settable. */ 00390 /* #undef _FILE_OFFSET_BITS */ 00391 00392 /* Define for large files, on AIX-style hosts. */ 00393 /* #undef _LARGE_FILES */ 00394 00395 /* Define to empty if `const' does not conform to ANSI C. */ 00396 /* #undef const */ 00397 00398 /* 00399 * Exit success/failure macros. 00400 */ 00401 #ifndef HAVE_EXIT_SUCCESS 00402 #define EXIT_FAILURE 1 00403 #define EXIT_SUCCESS 0 00404 #endif 00405 00406 /* 00407 * Don't step on the namespace. Other libraries may have their own 00408 * implementations of these functions, we don't want to use their 00409 * implementations or force them to use ours based on the load order. 00410 */ 00411 #ifndef HAVE_GETCWD 00412 #define getcwd __db_Cgetcwd 00413 #endif 00414 #ifndef HAVE_GETOPT 00415 #define getopt __db_Cgetopt 00416 #define optarg __db_Coptarg 00417 #define opterr __db_Copterr 00418 #define optind __db_Coptind 00419 #define optopt __db_Coptopt 00420 #endif 00421 #ifndef HAVE_MEMCMP 00422 #define memcmp __db_Cmemcmp 00423 #endif 00424 #ifndef HAVE_MEMCPY 00425 #define memcpy __db_Cmemcpy 00426 #endif 00427 #ifndef HAVE_MEMMOVE 00428 #define memmove __db_Cmemmove 00429 #endif 00430 #ifndef HAVE_RAISE 00431 #define raise __db_Craise 00432 #endif 00433 #ifndef HAVE_SNPRINTF 00434 #define snprintf __db_Csnprintf 00435 #endif 00436 #ifndef HAVE_STRCASECMP 00437 #define strcasecmp __db_Cstrcasecmp 00438 #define strncasecmp __db_Cstrncasecmp 00439 #endif 00440 #ifndef HAVE_STRERROR 00441 #define strerror __db_Cstrerror 00442 #endif 00443 #ifndef HAVE_VSNPRINTF 00444 #define vsnprintf __db_Cvsnprintf 00445 #endif 00446 00447 /* 00448 * !!! 00449 * The following is not part of the automatic configuration setup, but 00450 * provides the information necessary to build Berkeley DB on VxWorks. 00451 */ 00452 #include "vxWorks.h"