-
Notifications
You must be signed in to change notification settings - Fork 32
/
config.h.in
609 lines (417 loc) · 20.8 KB
/
config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
/*--------------------------------------------------------------------------
* This file is autogenerated from config.h.in
* during the cmake configuration of your project. If you need to make changes
* edit the original file NOT THIS FILE.
* --------------------------------------------------------------------------*/
#ifndef _CONFIG_H_
#define _CONFIG_H_
/* Define to 1 if you have the <strings.h> header file. */
#cmakedefine HAVE_STRINGS_H @HAVE_STRINGS_H@
/* Define to 1 if you have the <string.h> header file. */
#cmakedefine HAVE_STRING_H @HAVE_STRING_H@
/* Define to 1 if you have the <float.h> header file. */
#cmakedefine HAVE_FLOAT_H @HAVE_FLOAT_H@
/* Define to 1 if you have the <stdlib.h> header file. */
#cmakedefine HAVE_STDLIB_H @HAVE_STDLIB_H@
/* Define to 1 if you have the <stddef.h> header file. */
#cmakedefine HAVE_STDDEF_H @HAVE_STDDEF_H@
/* Define to 1 if you have the <stdint.h> header file. */
#cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@
/* Define to 1 if you have the <inttypes.h> header file. */
#cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@
/* Define to 1 if you have the <dlfcn.h> header file. */
#cmakedefine HAVE_DLFCN_H @HAVE_DLFCN_H@
/* Define to 1 if you have the <sys/stat.h> header file. */
#cmakedefine HAVE_SYS_STAT_H @HAVE_SYS_STAT_H@
/* Define to 1 if you have the <sys/types.h> header file. */
#cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@
/* Define to 1 if you have the <sys/capability.h> header file. */
#cmakedefine HAVE_SYS_CAPABILITY_H @HAVE_SYS_CAPABILITY_H@
/* Define to 1 if you have the ANSI C header files. */
#cmakedefine STDC_HEADERS @STDC_HEADERS@
/* Define to 1 if you have the `clock_gettime' function. */
#cmakedefine HAVE_CLOCK_GETTIME @HAVE_CLOCK_GETTIME@
/* Define to 1 to use the syscall interface for clock_gettime */
#cmakedefine HAVE_CLOCK_SYSCALL @HAVE_CLOCK_SYSCALL@
/* Define to 1 if you have the `pthread' library (-lpthread). */
#cmakedefine HAVE_PTHREADS @HAVE_PTHREADS@
/* Define to 1 if you have the `m' library (-lm). */
#cmakedefine HAVE_M @HAVE_M@
/* Define to 1 if you have the `dl' library (-ldl). */
#cmakedefine HAVE_DL @HAVE_DL@
/* Define to 1 if you have the `libc++' library (-lc++). */
#cmakedefine HAVE_LIBCPP @HAVE_LIBCPP@
/* Define to 1 if you have the `libc++abi' library (-lc++abi). */
#cmakedefine HAVE_LIBCPPABI @HAVE_LIBCPPABI@
/* Define to 1 if you have the `rt' library (-lrt). */
#cmakedefine HAVE_RT @HAVE_RT@
/* Define to 1 if you have the `zlib' library (-lz). */
#cmakedefine HAVE_ZLIB @HAVE_ZLIB@
/* define if the compiler has sstream */
#cmakedefine HAVE_SSTREAM @HAVE_SSTREAM@
/* define if the compiler has stringstream */
#cmakedefine HAVE_STRSTREAM @HAVE_STRSTREAM@
/* Define to 1 if you have the <pthread_np.h> header file. */
#cmakedefine HAVE_PTHREAD_NP_H @HAVE_PTHREAD_NP_H@
/* Define to 1 if you have the <fcntl.h> header file. */
#cmakedefine HAVE_FCNTL_H @HAVE_FCNTL_H@
/* Define to 1 if you have the <limits.h> header file. */
#cmakedefine HAVE_LIMITS_H @HAVE_LIMITS_H@
/* Define to 1 if you have the <netinet/in.h> header file. */
#cmakedefine HAVE_NETINET_IN_H @HAVE_NETINET_IN_H@
/* Define to 1 if you have the <poll.h> header file. */
#cmakedefine HAVE_POLL_H @HAVE_POLL_H@
/* Define to 1 if you have the <port.h> header file. */
#cmakedefine HAVE_PORT_H @HAVE_PORT_H@
/* Define to 1 if you have the <sys/epoll.h> header file. */
#cmakedefine HAVE_SYS_EPOLL_H @HAVE_SYS_EPOLL_H@
/* Define to 1 if you have the <sys/event.h> header file. */
#cmakedefine HAVE_SYS_EVENT_H @HAVE_SYS_EVENT_H@
/* Define to 1 if you have the <sys/eventfd.h> header file. */
#cmakedefine HAVE_SYS_EVENTFD_H @HAVE_SYS_EVENTFD_H@
/* Define to 1 if you have the <sys/inotify.h> header file. */
#cmakedefine HAVE_SYS_INOTIFY_H @HAVE_SYS_INOTIFY_H@
/* Define to 1 if you have the <sys/select.h> header file. */
#cmakedefine HAVE_SYS_SELECT_H @HAVE_SYS_SELECT_H@
/* Define to 1 if you have the <sys/signalfd.h> header file. */
#cmakedefine HAVE_SYS_SIGNALFD_H @HAVE_SYS_SIGNALFD_H@
/* Define to 1 if you have the <sys/socket.h> header file. */
#cmakedefine HAVE_SYS_SOCKET_H @HAVE_SYS_SOCKET_H@
/* Define to 1 if you have the <sys/time.h> header file. */
#cmakedefine HAVE_SYS_TIME_H @HAVE_SYS_TIME_H@
/* Define to 1 if you have the <unistd.h> header file. */
#cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
/* Define to 1 if you have the <execinfo.h> header file. */
#cmakedefine HAVE_EXECINFO_H @HAVE_EXECINFO_H@
/* Define to 1 if you have the <libunwind.h> header file. */
#cmakedefine HAVE_LIBUNWIND_H @HAVE_LIBUNWIND_H@
/* Define to 1 if you have the <sys/sysctl.h> header file. */
#cmakedefine HAVE_SYS_SYSCTL_H @HAVE_SYS_SYSCTL_H@
/* Define to 1 if you have 3-arg `pthread_getname_np' */
#cmakedefine HAVE_PTHREAD_GETNAME_NP @HAVE_PTHREAD_GETNAME_NP@
/* Define to 1 if you have 1-arg and 3-arg `pthread_get_name_np' */
#cmakedefine HAVE_PTHREAD_GET_NAME_NP @HAVE_PTHREAD_GET_NAME_NP@
/* Define to 1 if you have 1-arg, 2-arg and 3-arg `pthread_setname_np' */
#cmakedefine HAVE_PTHREAD_SETNAME_NP @HAVE_PTHREAD_SETNAME_NP@
/* Define to 1 if you have 2-arg `pthread_set_name_np' */
#cmakedefine HAVE_PTHREAD_SET_NAME_NP @HAVE_PTHREAD_SET_NAME_NP@
/* Define to 1 if you have `pthread_attr_setaffinity_np' */
#cmakedefine HAVE_PTHREAD_ATTR_SETAFFINITY_NP @HAVE_PTHREAD_ATTR_SETAFFINITY_NP@
/* Define to 1 if you have the `epoll_ctl' function. */
#cmakedefine HAVE_EPOLL_CTL @HAVE_EPOLL_CTL@
/* Define to 1 if you have the `eventfd' function. */
#cmakedefine HAVE_EVENTFD @HAVE_EVENTFD@
/* Define to 1 if you have the `fallocate' function. */
#cmakedefine HAVE_FALLOCATE @HAVE_FALLOCATE@
/* Define to 1 if you have the `fdatasync' function. */
#cmakedefine HAVE_FDATASYNC @HAVE_FDATASYNC@
/* Define to 1 if you have the `fsync' function. */
#cmakedefine HAVE_FSYNC @HAVE_FSYNC@
/* Define to 1 if you have the `getcwd' function. */
#cmakedefine HAVE_GETCWD @HAVE_GETCWD@
/* Define to 1 if you have the `gettimeofday' function. */
#cmakedefine HAVE_GETTIMEOFDAY @HAVE_GETTIMEOFDAY@
/* Define to 1 if you have the `inotify_init' function. */
#cmakedefine HAVE_INOTIFY_INIT @HAVE_INOTIFY_INIT@
/* Define to 1 if you have the `kqueue' function. */
#cmakedefine HAVE_KQUEUE @HAVE_KQUEUE@
/* Define to 1 if you have the `memcpy' function. */
#cmakedefine HAVE_MEMCPY @HAVE_MEMCPY@
/* Define to 1 if you have the `nanosleep' function. */
#cmakedefine HAVE_NANOSLEEP @HAVE_NANOSLEEP@
/* Define to 1 if you have the `poll' function. */
#cmakedefine HAVE_POLL @HAVE_POLL@
/* Define to 1 if you have the `port_create' function. */
#cmakedefine HAVE_PORT_CREATE @HAVE_PORT_CREATE@
/* Define to 1 if you have the `posix_fadvise' function. */
#cmakedefine HAVE_POSIX_FADVISE @HAVE_POSIX_FADVISE@
/* Define to 1 if you have the `posix_fallocate' function. */
#cmakedefine HAVE_POSIX_FALLOCATE @HAVE_POSIX_FALLOCATE@
/* Define to 1 if you have the `pread' function. */
#cmakedefine HAVE_PREAD @HAVE_PREAD@
/* Define to 1 if you have the `pwrite' function. */
#cmakedefine HAVE_PWRITE @HAVE_PWRITE@
/* Define to 1 if you have the `select' function. */
#cmakedefine HAVE_SELECT @HAVE_SELECT@
/* Define to 1 if you have the `signalfd' function. */
#cmakedefine HAVE_SIGNALFD @HAVE_SIGNALFD@
/* Define to 1 if you have the `socket' function. */
#cmakedefine HAVE_SOCKET @HAVE_SOCKET@
/* Define to 1 if you have the `setresuid' function. */
#cmakedefine HAVE_SETRESUID @HAVE_SETRESUID@
/* Define to 1 if you have the `__builtin_expect' function. */
#cmakedefine HAVE___BUILTIN_EXPECT @HAVE___BUILTIN_EXPECT@
/* Define to 1 if the system has the type `long long'. */
#cmakedefine HAVE_LONG_LONG @HAVE_LONG_LONG@
/* Define to 1 if the system has the type `uint16_t'. */
#cmakedefine HAVE_UINT16_T @HAVE_UINT16_T@
/* Define to 1 if the system has the type `u_int16_t'. */
#cmakedefine HAVE_U_INT16_T @HAVE_U_INT16_T@
/* Define to 1 if the system has the type `__uint16'. */
#cmakedefine HAVE___UINT16 @HAVE___UINT16@
/* Define to 1 if the system has the type `_Bool'. */
#cmakedefine HAVE__BOOL @HAVE__BOOL@
/* Enable remote clustering. */
#cmakedefine XAPIAND_CLUSTERING @XAPIAND_CLUSTERING@
/* Enable database write ahead log (WAL). */
#cmakedefine XAPIAND_DATABASE_WAL @XAPIAND_DATABASE_WAL@
/* Enable data storage. */
#cmakedefine XAPIAND_DATA_STORAGE @XAPIAND_DATA_STORAGE@
/* Enable tracebacks for exceptions. */
#cmakedefine XAPIAND_TRACEBACKS @XAPIAND_TRACEBACKS@
/* Enable tracked memory allocator for memory usage. */
#cmakedefine XAPIAND_TRACKED_MEM @XAPIAND_TRACKED_MEM@
/* Enable checks for file descriptors usage in 'io' namespace */
#cmakedefine XAPIAND_CHECK_IO_FDES @XAPIAND_CHECK_IO_FDES@
/* Path for fixtures files */
#cmakedefine FIXTURES_PATH "@FIXTURES_PATH@"
/* Path for xapiand data files */
#cmakedefine XAPIAND_DATA_PATH "@XAPIAND_DATA_PATH@"
/* Defines for cross-platform UUID generation */
#cmakedefine UUID_LIBUUID @UUID_LIBUUID@
#cmakedefine UUID_CFUUID @UUID_CFUUID@
#cmakedefine UUID_FREEBSD @UUID_FREEBSD@
/* Enable CHAISCRIPT engine */
#cmakedefine XAPIAND_CHAISCRIPT @XAPIAND_CHAISCRIPT@
#cmakedefine XAPIAND_UUID_ENCODED @XAPIAND_UUID_ENCODED@
#cmakedefine XAPIAND_UUID_GUID @XAPIAND_UUID_GUID@
#cmakedefine XAPIAND_UUID_URN @XAPIAND_UUID_URN@
#cmakedefine XAPIAND_RANDOM_ERRORS @XAPIAND_RANDOM_ERRORS@
#cmakedefine XAPIAND_CHECK_SIZES @XAPIAND_CHECK_SIZES@
#define XAPIAND_ROOT "@ROOT@"
////////////////////////////////////////////////////////////////////////////////
#define XAPIAND_CLUSTER_NAME "Xapiand"
#define XAPIAND_DISCOVERY_GROUP "239.192.168.1" /* Gossip group */
#define XAPIAND_DISCOVERY_SERVERPORT 58880 /* Gossip port */
#define XAPIAND_HTTP_SERVERPORT 8880 /* HTTP TCP port */
#define XAPIAND_REMOTE_SERVERPORT 9880 /* Remote Protocol TCP port */
#define XAPIAND_REPLICATION_SERVERPORT 7880 /* Replication Protocol TCP port */
/* Enable xxh static linking structures */
#define XXH_STATIC_LINKING_ONLY 1
/* TCP listen backlog */
#if !defined(_WIN32) && \
!defined(__linux__) && \
(defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)))
#define XAPIAND_TCP_BACKLOG -1
#else
#define XAPIAND_TCP_BACKLOG 511
#endif
////////////////////////////////////////////////////////////////////////////////
// Xapian specific
/* Force move semantics in xapian */
#define XAPIAN_MOVE_SEMANTICS 1
/* directory separator(s) as a character or string literal */
#define DIR_SEPS '/'
/* directory separator(s) as an initialiser list */
#define DIR_SEPS_LIST { '/' }
/* Define to error out if we try to include GPL code in libxapian */
/* #undef DISABLE_GPL_LIBXAPIAN */
/* Define to use flock() for flint-compatible locking */
#define FLINTLOCK_USE_FLOCK 1
/* Define if ftime returns void */
#cmakedefine FTIME_RETURNS_VOID @FTIME_RETURNS_VOID@
/* Define to 1 if you have the `closefrom' function. */
#cmakedefine HAVE_CLOSEFROM @HAVE_CLOSEFROM@
/* Define to 1 if you have `exp10(double)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL_EXP10
/* Define to 1 if you have `log2(double)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL_LOG2
/* Define to 1 if you have `strerror_r', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL_STRERROR_R
/* Define to 1 if you have `_byteswap_uint64', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL__BYTESWAP_UINT64
/* Define to 1 if you have `_byteswap_ulong', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL__BYTESWAP_ULONG
/* Define to 1 if you have `_byteswap_ushort', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL__BYTESWAP_USHORT
/* Define to 1 if you have `_putenv_s(const char *,const char *)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL__PUTENV_S
/* Define to 1 if you have `__builtin_add_overflow(int, int, int*)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___BUILTIN_ADD_OVERFLOW
/* Define to 1 if you have `__builtin_bswap16(uint16_t)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___BUILTIN_BSWAP16
/* Define to 1 if you have `__builtin_bswap32(uint32_t)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___BUILTIN_BSWAP32
/* Define to 1 if you have `__builtin_bswap64(uint64_t)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___BUILTIN_BSWAP64
/* Define to 1 if you have `__builtin_clz(unsigned)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___BUILTIN_CLZ
/* Define to 1 if you have `__builtin_clzl(unsigned long)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___BUILTIN_CLZL
/* Define to 1 if you have `__builtin_clzll(unsigned long long)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___BUILTIN_CLZLL
/* Define to 1 if you have `__builtin_ctz(unsigned)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___BUILTIN_CTZ
/* Define to 1 if you have `__builtin_ctzl(unsigned long)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___BUILTIN_CTZL
/* Define to 1 if you have `__builtin_ctzll(unsigned long long)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___BUILTIN_CTZLL
/* Define to 1 if you have `__builtin_expect(long, long)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___BUILTIN_EXPECT
/* Define to 1 if you have `__builtin_mul_overflow(int, int, int*)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___BUILTIN_MUL_OVERFLOW
/* Define to 1 if you have `__builtin_popcount(unsigned)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___BUILTIN_POPCOUNT
/* Define to 1 if you have `__builtin_popcountl(unsigned long)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___BUILTIN_POPCOUNTL
/* Define to 1 if you have `__builtin_popcountll(unsigned long long)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___BUILTIN_POPCOUNTLL
/* Define to 1 if you have `__exp10(double)', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___EXP10
/* Define to 1 if you have `__popcnt', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___POPCNT
/* Define to 1 if you have `__popcnt64', and to 0 if you don't. */
#cmakedefine01 HAVE_DECL___POPCNT64
/* Define to 1 if you have the `fork' function. */
#cmakedefine HAVE_FORK @HAVE_FORK@
/* Define to 1 if you have the `ftime' function. */
#cmakedefine HAVE_FTIME @HAVE_FTIME@
/* Define to 1 if you have the `ftruncate' function. */
#cmakedefine HAVE_FTRUNCATE @HAVE_FTRUNCATE@
/* Define to 1 if you have the `getdirentries' function. */
#cmakedefine HAVE_GETDIRENTRIES @HAVE_GETDIRENTRIES@
/* Define to 1 if you have the `gethostname' function. */
#cmakedefine HAVE_GETHOSTNAME @HAVE_GETHOSTNAME@
/* Define to 1 if you have the `getrlimit' function. */
#cmakedefine HAVE_GETRLIMIT @HAVE_GETRLIMIT@
/* Define to 1 if you have the `getrusage' function. */
#cmakedefine HAVE_GETRUSAGE @HAVE_GETRUSAGE@
/* Define to 1 if you have the `link' function. */
#cmakedefine HAVE_LINK @HAVE_LINK@
/* Define to 1 if you have the <memory.h> header file. */
#cmakedefine HAVE_MEMORY_H @HAVE_MEMORY_H@
/* Define to 1 if you have the `nftw' function. */
#cmakedefine HAVE_NFTW @HAVE_NFTW@
/* Define to 1 if you have the `random' function. */
#cmakedefine HAVE_RANDOM @HAVE_RANDOM@
/* Define to 1 if you have the `setenv' function. */
#cmakedefine HAVE_SETENV @HAVE_SETENV@
/* Define to 1 if you have the `sigaction' function. */
#cmakedefine HAVE_SIGACTION @HAVE_SIGACTION@
/* Define to 1 if you have the 'sigsetjmp' function */
#cmakedefine HAVE_SIGSETJMP @HAVE_SIGSETJMP@
/* Define to 1 if you have the `sleep' function. */
#cmakedefine HAVE_SLEEP @HAVE_SLEEP@
/* Define to 1 if you have the 'socketpair' function. */
#cmakedefine HAVE_SOCKETPAIR @HAVE_SOCKETPAIR@
/* Define to 1 if you have the `srandom' function. */
#cmakedefine HAVE_SRANDOM @HAVE_SRANDOM@
/* Define to 1 if you have 'std::is_trivially_copyable<>'. */
#cmakedefine HAVE_STD_IS_TRIVIALLY_COPYABLE @HAVE_STD_IS_TRIVIALLY_COPYABLE@
/* Define to 1 if you have the `strerror_r' function. */
#cmakedefine HAVE_STRERROR_R @HAVE_STRERROR_R@
/* Define to 1 if you have the `sysconf' function. */
#cmakedefine HAVE_SYSCONF @HAVE_SYSCONF@
/* Define if you have 'sys_errlist' and 'sys_nerr' */
#cmakedefine HAVE_SYS_ERRLIST_AND_SYS_NERR @HAVE_SYS_ERRLIST_AND_SYS_NERR@
/* Define to 1 if you have the <sys/resource.h> header file. */
#cmakedefine HAVE_SYS_RESOURCE_H @HAVE_SYS_RESOURCE_H@
/* Define to 1 if you have the <sys/uio.h> header file. */
#cmakedefine HAVE_SYS_UIO_H @HAVE_SYS_UIO_H@
/* Define to 1 if you have the <sys/utsname.h> header file. */
#cmakedefine HAVE_SYS_UTSNAME_H @HAVE_SYS_UTSNAME_H@
/* Define to 1 if you have the 'timer_create' function. */
#cmakedefine HAVE_TIMER_CREATE @HAVE_TIMER_CREATE@
/* Define to 1 if you have the `times' function. */
#cmakedefine HAVE_TIMES @HAVE_TIMES@
/* Define to 1 if you have the <uuid.h> header file. */
#cmakedefine HAVE_UUID_H @HAVE_UUID_H@
/* Define to 1 if you have the <uuid/uuid.h> header file. */
#cmakedefine HAVE_UUID_UUID_H @HAVE_UUID_UUID_H@
/* Define to 1 if you have the `writev' function. */
#cmakedefine HAVE_WRITEV @HAVE_WRITEV@
/* Define to 1 if you have the <zlib.h> header file. */
#cmakedefine HAVE_ZLIB_H @HAVE_ZLIB_H@
/* Define if you have '_sys_errlist' and '_sys_nerr' */
#cmakedefine HAVE__SYS_ERRLIST_AND__SYS_NERR @HAVE__SYS_ERRLIST_AND__SYS_NERR@
/* Define to 1 if you have the '__builtin_exp10' function. */
#cmakedefine HAVE___BUILTIN_EXP10 @HAVE___BUILTIN_EXP10@
/* Name of package */
#define PACKAGE "xapiand"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "xapian-core 1.5.0"
/* explicit prototype needed for pread (if any) */
#cmakedefine PREAD_PROTOTYPE @PREAD_PROTOTYPE@
/* explicit prototype needed for pwrite (if any) */
#cmakedefine PWRITE_PROTOTYPE @PWRITE_PROTOTYPE@
/* Define to the name of a function implementing snprintf but not caring about
ISO C99 return value semantics (if one exists) */
#cmakedefine SNPRINTF @SNPRINTF@
/* Define to the name of a function implementing snprintf with ISO C99
semantics (if one exists) */
#cmakedefine SNPRINTF_ISO @SNPRINTF_ISO@
/* Define to use ICU for CJK segmentation */
#cmakedefine USE_ICU @USE_ICU@
/* Defined if system uses ieee format to store floating point numbers */
#cmakedefine FOLLOWS_IEEE @FOLLOWS_IEEE@
/* type to use for 5th parameter to getsockopt */
#cmakedefine SOCKLEN_T @SOCKLEN_T@
/* Define to 1 if strerror_r returns char *. */
#cmakedefine STRERROR_R_CHAR_P @STRERROR_R_CHAR_P@
/* Define to 1 to read UUID from '/proc/sys/kernel/random/uuid' */
#cmakedefine USE_PROC_FOR_UUID @USE_PROC_FOR_UUID@
/* Define to 1 to use UuidCreate(), etc */
#cmakedefine USE_WIN32_UUID_API @USE_WIN32_UUID_API@
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
/* # undef WORDS_BIGENDIAN */
/* Define if you want assertions (causes some slow-down) */
#ifndef NDEBUG
# define XAPIAN_ASSERTIONS 1
#endif
/* Define if you want paranoid assertions (causes significant slow-down) */
/* #undef XAPIAN_ASSERTIONS_PARANOID */
/* Define if you want a log of methods called and other debug messages */
/* #undef XAPIAN_DEBUG_LOG */
/* Enable large inode numbers on Mac OS X 10.5. */
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
#endif
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef mode_t */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef pid_t */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef ssize_t */
/* _FORTIFY_SOURCE is only supported by GCC >= 4.1 and glibc >= 2.3.4, but it
* shouldn't cause a problem to define it where it's not supported and some
* distros may have backported support, so hardcoding version checks is
* counter-productive.
*
* Check if _FORTIFY_SOURCE is already defined to allow the user to override
* our choice with "./configure CPPFLAGS=-D_FORTIFY_SOURCE=0" or "...=1".
*/
#if defined __GNUC__ && !defined _FORTIFY_SOURCE
# define _FORTIFY_SOURCE 2
#endif
/* For compilers which support it (such as GCC, clang, Intel's C++ compiler)
* we can use __builtin_expect to give the compiler hints about branch
* prediction. See HACKING for how to use these.
*/
#if HAVE_DECL___BUILTIN_EXPECT
/* The arguments of __builtin_expect() are both long, so use !! to ensure that
* the first argument is always an integer expression, and always 0 or 1, but
* still has the same truth value for the if or while it is used in.
*/
# define rare(COND) __builtin_expect(!!(COND), 0)
# define usual(COND) __builtin_expect(!!(COND), 1)
#else
# define rare(COND) (COND)
# define usual(COND) (COND)
#endif
/* Signal we're building the library so it's OK to include headers such as
* xapian/query.h directly.
*/
#define XAPIAN_LIB_BUILD 1
/* With Sun CC 5.13 (Studio 12.4) on Solaris 11.2, <math.h> seems to get
* implicitly included somehow before <cmath>, and compilation fails due
* to 'std::exception' colliding with 'struct exception'. It's not clear
* how to avoid this, so just define the same magic macro which <cmath> does
* before it includes <math.h>.
*/
#ifdef __SUNPRO_CC
# define __MATHERR_RENAME_EXCEPTION
#endif
#endif /* _CONFIG_H_ */