~ubuntu-branches/ubuntu/precise/rpm/precise-proposed

« back to all changes in this revision

Viewing changes to db/build_vxworks/db_config_small.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-06-25 18:57:20 UTC
  • mfrom: (1.1.5 upstream) (4.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090625185720-617sjskgtgmf09vf
Tags: 4.7.0-7ubuntu1
* Merge from debian unstable, remaining changes:
  - change build depends from libdwarf-dev -> libdw-dev
    (libdwarf-dev is in universe)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* DO NOT EDIT: automatically built by dist/s_vxworks. */
2
 
/* !!!
3
 
 * The CONFIG_TEST option may be added using the Tornado project build.
4
 
 * DO NOT modify it here.
5
 
 */
6
 
/* Define to 1 if you want to build a version for running the test suite. */
7
 
/* #undef CONFIG_TEST */
8
 
 
9
 
/* We use DB_WIN32 much as one would use _WIN32 -- to specify that we're using
10
 
   an operating system environment that supports Win32 calls and semantics. We
11
 
   don't use _WIN32 because Cygwin/GCC also defines _WIN32, even though
12
 
   Cygwin/GCC closely emulates the Unix environment. */
13
 
/* #undef DB_WIN32 */
14
 
 
15
 
/* !!!
16
 
 * The DEBUG option may be added using the Tornado project build.
17
 
 * DO NOT modify it here.
18
 
 */
19
 
/* Define to 1 if you want a debugging version. */
20
 
/* #undef DEBUG */
21
 
 
22
 
/* Define to 1 if you want a version that logs read operations. */
23
 
/* #undef DEBUG_ROP */
24
 
 
25
 
/* Define to 1 if you want a version that logs write operations. */
26
 
/* #undef DEBUG_WOP */
27
 
 
28
 
/* !!!
29
 
 * The DIAGNOSTIC option may be added using the Tornado project build.
30
 
 * DO NOT modify it here.
31
 
 */
32
 
/* Define to 1 if you want a version with run-time diagnostic checking. */
33
 
/* #undef DIAGNOSTIC */
34
 
 
35
 
/* Define to 1 if you have the `clock_gettime' function. */
36
 
#define HAVE_CLOCK_GETTIME 1
37
 
 
38
 
/* Define to 1 if Berkeley DB release includes strong cryptography. */
39
 
/* #undef HAVE_CRYPTO */
40
 
 
41
 
/* Define to 1 if you have the `directio' function. */
42
 
/* #undef HAVE_DIRECTIO */
43
 
 
44
 
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
45
 
   */
46
 
#define HAVE_DIRENT_H 1
47
 
 
48
 
/* Define to 1 if you have the <dlfcn.h> header file. */
49
 
/* #undef HAVE_DLFCN_H */
50
 
 
51
 
/* Define to 1 if you have EXIT_SUCCESS/EXIT_FAILURE #defines. */
52
 
#define HAVE_EXIT_SUCCESS 1
53
 
 
54
 
/* Define to 1 if fcntl/F_SETFD denies child access to file descriptors. */
55
 
/* #undef HAVE_FCNTL_F_SETFD */
56
 
 
57
 
/* Define to 1 if you have the `fdatasync' function. */
58
 
/* #undef HAVE_FDATASYNC */
59
 
 
60
 
/* Define to 1 if allocated filesystem blocks are not zeroed. */
61
 
#define HAVE_FILESYSTEM_NOTZERO 1
62
 
 
63
 
/* Define to 1 if you have the `ftruncate' function. */
64
 
/* #undef HAVE_FTRUNCATE */
65
 
 
66
 
/* Define to 1 if you have the `getcwd' function. */
67
 
#define HAVE_GETCWD 1
68
 
 
69
 
/* Define to 1 if you have the `getopt' function. */
70
 
/* #undef HAVE_GETOPT */
71
 
 
72
 
/* Define to 1 if you have the `getrusage' function. */
73
 
/* #undef HAVE_GETRUSAGE */
74
 
 
75
 
/* Define to 1 if you have the `gettimeofday' function. */
76
 
/* #undef HAVE_GETTIMEOFDAY */
77
 
 
78
 
/* Define to 1 if you have the `getuid' function. */
79
 
/* #undef HAVE_GETUID */
80
 
 
81
 
/* Define to 1 if building Hash access method. */
82
 
/* #undef HAVE_HASH */
83
 
 
84
 
/* Define to 1 if you have the <inttypes.h> header file. */
85
 
/* #undef HAVE_INTTYPES_H */
86
 
 
87
 
/* Define to 1 if you have the `nsl' library (-lnsl). */
88
 
/* #undef HAVE_LIBNSL */
89
 
 
90
 
/* Define to 1 if the system has the type `long long'. */
91
 
/* #undef HAVE_LONG_LONG */
92
 
 
93
 
/* Define to 1 if you have the `memcmp' function. */
94
 
#define HAVE_MEMCMP 1
95
 
 
96
 
/* Define to 1 if you have the `memcpy' function. */
97
 
#define HAVE_MEMCPY 1
98
 
 
99
 
/* Define to 1 if you have the `memmove' function. */
100
 
#define HAVE_MEMMOVE 1
101
 
 
102
 
/* Define to 1 if you have the <memory.h> header file. */
103
 
#define HAVE_MEMORY_H 1
104
 
 
105
 
/* Define to 1 if you have the `mlock' function. */
106
 
/* #undef HAVE_MLOCK */
107
 
 
108
 
/* Define to 1 if you have the `mmap' function. */
109
 
/* #undef HAVE_MMAP */
110
 
 
111
 
/* Define to 1 if you have the `munlock' function. */
112
 
/* #undef HAVE_MUNLOCK */
113
 
 
114
 
/* Define to 1 if you have the `munmap' function. */
115
 
/* #undef HAVE_MUNMAP */
116
 
 
117
 
/* Define to 1 to use the GCC compiler and 68K assembly language mutexes. */
118
 
/* #undef HAVE_MUTEX_68K_GCC_ASSEMBLY */
119
 
 
120
 
/* Define to 1 to use the AIX _check_lock mutexes. */
121
 
/* #undef HAVE_MUTEX_AIX_CHECK_LOCK */
122
 
 
123
 
/* Define to 1 to use the GCC compiler and Alpha assembly language mutexes. */
124
 
/* #undef HAVE_MUTEX_ALPHA_GCC_ASSEMBLY */
125
 
 
126
 
/* Define to 1 to use the GCC compiler and ARM assembly language mutexes. */
127
 
/* #undef HAVE_MUTEX_ARM_GCC_ASSEMBLY */
128
 
 
129
 
/* Define to 1 to use the Apple/Darwin _spin_lock_try mutexes. */
130
 
/* #undef HAVE_MUTEX_DARWIN_SPIN_LOCK_TRY */
131
 
 
132
 
/* Define to 1 to use the UNIX fcntl system call mutexes. */
133
 
/* #undef HAVE_MUTEX_FCNTL */
134
 
 
135
 
/* Define to 1 to use the GCC compiler and PaRisc assembly language mutexes.
136
 
   */
137
 
/* #undef HAVE_MUTEX_HPPA_GCC_ASSEMBLY */
138
 
 
139
 
/* Define to 1 to use the msem_XXX mutexes on HP-UX. */
140
 
/* #undef HAVE_MUTEX_HPPA_MSEM_INIT */
141
 
 
142
 
/* Define to 1 to use the GCC compiler and IA64 assembly language mutexes. */
143
 
/* #undef HAVE_MUTEX_IA64_GCC_ASSEMBLY */
144
 
 
145
 
/* Define to 1 to use the msem_XXX mutexes on systems other than HP-UX. */
146
 
/* #undef HAVE_MUTEX_MSEM_INIT */
147
 
 
148
 
/* Define to 1 to use the GCC compiler and PowerPC assembly language mutexes.
149
 
   */
150
 
/* #undef HAVE_MUTEX_PPC_GCC_ASSEMBLY */
151
 
 
152
 
/* Define to 1 to use POSIX 1003.1 pthread_XXX mutexes. */
153
 
/* #undef HAVE_MUTEX_PTHREADS */
154
 
 
155
 
/* Define to 1 to use Reliant UNIX initspin mutexes. */
156
 
/* #undef HAVE_MUTEX_RELIANTUNIX_INITSPIN */
157
 
 
158
 
/* Define to 1 to use the IBM C compiler and S/390 assembly language mutexes.
159
 
   */
160
 
/* #undef HAVE_MUTEX_S390_CC_ASSEMBLY */
161
 
 
162
 
/* Define to 1 to use the GCC compiler and S/390 assembly language mutexes. */
163
 
/* #undef HAVE_MUTEX_S390_GCC_ASSEMBLY */
164
 
 
165
 
/* Define to 1 to use the SCO compiler and x86 assembly language mutexes. */
166
 
/* #undef HAVE_MUTEX_SCO_X86_CC_ASSEMBLY */
167
 
 
168
 
/* Define to 1 to use the obsolete POSIX 1003.1 sema_XXX mutexes. */
169
 
/* #undef HAVE_MUTEX_SEMA_INIT */
170
 
 
171
 
/* Define to 1 to use the SGI XXX_lock mutexes. */
172
 
/* #undef HAVE_MUTEX_SGI_INIT_LOCK */
173
 
 
174
 
/* Define to 1 to use the Solaris _lock_XXX mutexes. */
175
 
/* #undef HAVE_MUTEX_SOLARIS_LOCK_TRY */
176
 
 
177
 
/* Define to 1 to use the Solaris lwp threads mutexes. */
178
 
/* #undef HAVE_MUTEX_SOLARIS_LWP */
179
 
 
180
 
/* Define to 1 to use the GCC compiler and Sparc assembly language mutexes. */
181
 
/* #undef HAVE_MUTEX_SPARC_GCC_ASSEMBLY */
182
 
 
183
 
/* Define to 1 if mutexes hold system resources. */
184
 
#define HAVE_MUTEX_SYSTEM_RESOURCES 1
185
 
 
186
 
/* Define to 1 if fast mutexes are available. */
187
 
#define HAVE_MUTEX_THREADS 1
188
 
 
189
 
/* Define to 1 to configure mutexes intra-process only. */
190
 
/* #undef HAVE_MUTEX_THREAD_ONLY */
191
 
 
192
 
/* Define to 1 to use the CC compiler and Tru64 assembly language mutexes. */
193
 
/* #undef HAVE_MUTEX_TRU64_CC_ASSEMBLY */
194
 
 
195
 
/* Define to 1 to use the UNIX International mutexes. */
196
 
/* #undef HAVE_MUTEX_UI_THREADS */
197
 
 
198
 
/* Define to 1 to use the UTS compiler and assembly language mutexes. */
199
 
/* #undef HAVE_MUTEX_UTS_CC_ASSEMBLY */
200
 
 
201
 
/* Define to 1 to use VMS mutexes. */
202
 
/* #undef HAVE_MUTEX_VMS */
203
 
 
204
 
/* Define to 1 to use VxWorks mutexes. */
205
 
#define HAVE_MUTEX_VXWORKS 1
206
 
 
207
 
/* Define to 1 to use the MSVC compiler and Windows mutexes. */
208
 
/* #undef HAVE_MUTEX_WIN32 */
209
 
 
210
 
/* Define to 1 to use the GCC compiler and Windows mutexes. */
211
 
/* #undef HAVE_MUTEX_WIN32_GCC */
212
 
 
213
 
/* Define to 1 to use the GCC compiler and x86 assembly language mutexes. */
214
 
/* #undef HAVE_MUTEX_X86_GCC_ASSEMBLY */
215
 
 
216
 
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
217
 
/* #undef HAVE_NDIR_H */
218
 
 
219
 
/* Define to 1 if you have the O_DIRECT flag. */
220
 
/* #undef HAVE_O_DIRECT */
221
 
 
222
 
/* Define to 1 if you have the `pread' function. */
223
 
/* #undef HAVE_PREAD */
224
 
 
225
 
/* Define to 1 if you have the `pstat_getdynamic' function. */
226
 
/* #undef HAVE_PSTAT_GETDYNAMIC */
227
 
 
228
 
/* Define to 1 if you have the `pwrite' function. */
229
 
/* #undef HAVE_PWRITE */
230
 
 
231
 
/* Define to 1 if building on QNX. */
232
 
/* #undef HAVE_QNX */
233
 
 
234
 
/* Define to 1 if building Queue access method. */
235
 
/* #undef HAVE_QUEUE */
236
 
 
237
 
/* Define to 1 if you have the `raise' function. */
238
 
#define HAVE_RAISE 1
239
 
 
240
 
/* Define to 1 if you have the `rand' function. */
241
 
#define HAVE_RAND 1
242
 
 
243
 
/* Define to 1 if building replication support. */
244
 
/* #undef HAVE_REPLICATION */
245
 
 
246
 
/* Define to 1 if building RPC client/server. */
247
 
/* #undef HAVE_RPC */
248
 
 
249
 
/* Define to 1 if you have the `sched_yield' function. */
250
 
#define HAVE_SCHED_YIELD 1
251
 
 
252
 
/* Define to 1 if you have the `select' function. */
253
 
#define HAVE_SELECT 1
254
 
 
255
 
/* Define to 1 if building sequence support. */
256
 
/* #undef HAVE_SEQUENCE */
257
 
 
258
 
/* Define to 1 if you have the `shmget' function. */
259
 
/* #undef HAVE_SHMGET */
260
 
 
261
 
/* Define to 1 if you have the `snprintf' function. */
262
 
/* #undef HAVE_SNPRINTF */
263
 
 
264
 
/* Define to 1 if you have the `srand' function. */
265
 
#define HAVE_SRAND 1
266
 
 
267
 
/* Define to 1 if building statistics support. */
268
 
/* #undef HAVE_STATISTICS */
269
 
 
270
 
/* Define to 1 if you have the <stdint.h> header file. */
271
 
/* #undef HAVE_STDINT_H */
272
 
 
273
 
/* Define to 1 if you have the <stdlib.h> header file. */
274
 
#define HAVE_STDLIB_H 1
275
 
 
276
 
/* Define to 1 if you have the `strcasecmp' function. */
277
 
/* #undef HAVE_STRCASECMP */
278
 
 
279
 
/* Define to 1 if you have the `strdup' function. */
280
 
/* #undef HAVE_STRDUP */
281
 
 
282
 
/* Define to 1 if you have the `strerror' function. */
283
 
#define HAVE_STRERROR 1
284
 
 
285
 
/* Define to 1 if you have the <strings.h> header file. */
286
 
#define HAVE_STRINGS_H 1
287
 
 
288
 
/* Define to 1 if you have the <string.h> header file. */
289
 
#define HAVE_STRING_H 1
290
 
 
291
 
/* Define to 1 if you have the `strtol' function. */
292
 
#define HAVE_STRTOL 1
293
 
 
294
 
/* Define to 1 if you have the `strtoul' function. */
295
 
#define HAVE_STRTOUL 1
296
 
 
297
 
/* Define to 1 if `st_blksize' is member of `struct stat'. */
298
 
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
299
 
 
300
 
/* Define to 1 if you have the `sysconf' function. */
301
 
/* #undef HAVE_SYSCONF */
302
 
 
303
 
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
304
 
   */
305
 
/* #undef HAVE_SYS_DIR_H */
306
 
 
307
 
/* Define to 1 if you have the <sys/fcntl.h> header file. */
308
 
/* #undef HAVE_SYS_FCNTL_H */
309
 
 
310
 
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
311
 
   */
312
 
/* #undef HAVE_SYS_NDIR_H */
313
 
 
314
 
/* Define to 1 if you have the <sys/select.h> header file. */
315
 
/* #undef HAVE_SYS_SELECT_H */
316
 
 
317
 
/* Define to 1 if you have the <sys/stat.h> header file. */
318
 
/* #undef HAVE_SYS_STAT_H */
319
 
 
320
 
/* Define to 1 if you have the <sys/time.h> header file. */
321
 
/* #undef HAVE_SYS_TIME_H */
322
 
 
323
 
/* Define to 1 if you have the <sys/types.h> header file. */
324
 
/* #undef HAVE_SYS_TYPES_H */
325
 
 
326
 
/* Define to 1 if you have the <unistd.h> header file. */
327
 
#define HAVE_UNISTD_H 1
328
 
 
329
 
/* Define to 1 if unlink of file with open file descriptors will fail. */
330
 
#define HAVE_UNLINK_WITH_OPEN_FAILURE 1
331
 
 
332
 
/* Define to 1 if the system has the type `unsigned long long'. */
333
 
/* #undef HAVE_UNSIGNED_LONG_LONG */
334
 
 
335
 
/* Define to 1 if building access method verification support. */
336
 
/* #undef HAVE_VERIFY */
337
 
 
338
 
/* Define to 1 if you have the `vsnprintf' function. */
339
 
/* #undef HAVE_VSNPRINTF */
340
 
 
341
 
/* Define to 1 if building VxWorks. */
342
 
#define HAVE_VXWORKS 1
343
 
 
344
 
/* Define to 1 if you have the `yield' function. */
345
 
/* #undef HAVE_YIELD */
346
 
 
347
 
/* Define to 1 if you have the `_fstati64' function. */
348
 
/* #undef HAVE__FSTATI64 */
349
 
 
350
 
/* Define to a value if using non-standard mutex alignment. */
351
 
/* #undef MUTEX_ALIGN */
352
 
 
353
 
/* Define to the address where bug reports for this package should be sent. */
354
 
#define PACKAGE_BUGREPORT "support@sleepycat.com"
355
 
 
356
 
/* Define to the full name of this package. */
357
 
#define PACKAGE_NAME "Berkeley DB"
358
 
 
359
 
/* Define to the full name and version of this package. */
360
 
#define PACKAGE_STRING "Berkeley DB 4.3.27"
361
 
 
362
 
/* Define to the one symbol short name of this package. */
363
 
#define PACKAGE_TARNAME "db-4.3.27"
364
 
 
365
 
/* Define to the version of this package. */
366
 
#define PACKAGE_VERSION "4.3.27"
367
 
 
368
 
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
369
 
/* #undef STAT_MACROS_BROKEN */
370
 
 
371
 
/* Define to 1 if you have the ANSI C header files. */
372
 
#define STDC_HEADERS 1
373
 
 
374
 
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
375
 
/* #undef TIME_WITH_SYS_TIME */
376
 
 
377
 
/* Define to 1 to mask harmless uninitialized memory read/writes. */
378
 
/* #undef UMRW */
379
 
 
380
 
/* Number of bits in a file offset, on hosts where this is settable. */
381
 
/* #undef _FILE_OFFSET_BITS */
382
 
 
383
 
/* Define for large files, on AIX-style hosts. */
384
 
/* #undef _LARGE_FILES */
385
 
 
386
 
/* Define to empty if `const' does not conform to ANSI C. */
387
 
/* #undef const */
388
 
 
389
 
/*
390
 
 * Exit success/failure macros.
391
 
 */
392
 
#ifndef HAVE_EXIT_SUCCESS
393
 
#define EXIT_FAILURE    1
394
 
#define EXIT_SUCCESS    0
395
 
#endif
396
 
 
397
 
/*
398
 
 * Don't step on the namespace.  Other libraries may have their own
399
 
 * implementations of these functions, we don't want to use their
400
 
 * implementations or force them to use ours based on the load order.
401
 
 */
402
 
#ifndef HAVE_GETCWD
403
 
#define getcwd          __db_Cgetcwd
404
 
#endif
405
 
#ifndef HAVE_GETOPT
406
 
#define getopt          __db_Cgetopt
407
 
#define optarg          __db_Coptarg
408
 
#define opterr          __db_Copterr
409
 
#define optind          __db_Coptind
410
 
#define optopt          __db_Coptopt
411
 
#endif
412
 
#ifndef HAVE_MEMCMP
413
 
#define memcmp          __db_Cmemcmp
414
 
#endif
415
 
#ifndef HAVE_MEMCPY
416
 
#define memcpy          __db_Cmemcpy
417
 
#endif
418
 
#ifndef HAVE_MEMMOVE
419
 
#define memmove         __db_Cmemmove
420
 
#endif
421
 
#ifndef HAVE_RAISE
422
 
#define raise           __db_Craise
423
 
#endif
424
 
#ifndef HAVE_SNPRINTF
425
 
#define snprintf        __db_Csnprintf
426
 
#endif
427
 
#ifndef HAVE_STRCASECMP
428
 
#define strcasecmp      __db_Cstrcasecmp
429
 
#define strncasecmp     __db_Cstrncasecmp
430
 
#endif
431
 
#ifndef HAVE_STRERROR
432
 
#define strerror        __db_Cstrerror
433
 
#endif
434
 
#ifndef HAVE_VSNPRINTF
435
 
#define vsnprintf       __db_Cvsnprintf
436
 
#endif
437
 
 
438
 
/*
439
 
 * !!!
440
 
 * The following is not part of the automatic configuration setup, but
441
 
 * provides the information necessary to build Berkeley DB on VxWorks.
442
 
 */
443
 
#include "vxWorks.h"