summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/cmake/configs/wiredtiger_config.h.in
blob: 4072a12e8f9f6d60464a351683aab1df4fa5adec (plain)
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
/*-
 * Copyright (c) 2014-present MongoDB, Inc.
 * Copyright (c) 2008-2014 WiredTiger, Inc.
 *	All rights reserved.
 *
 * See the file LICENSE for redistribution information.
 */

#ifndef __WIREDTIGER_CONFIG_H_
#define __WIREDTIGER_CONFIG_H_

/* Define to 1 to pause for debugger attach on failure. */
#cmakedefine HAVE_ATTACH 1

/* LZ4 support automatically loaded. */
#cmakedefine HAVE_BUILTIN_EXTENSION_LZ4 1

/* Snappy support automatically loaded. */
#cmakedefine HAVE_BUILTIN_EXTENSION_SNAPPY 1

/* ZLIB support automatically loaded. */
#cmakedefine HAVE_BUILTIN_EXTENSION_ZLIB 1

/* ZSTD support automatically loaded. */
#cmakedefine HAVE_BUILTIN_EXTENSION_ZSTD 1

/* libsodium support automatically loaded. */
#cmakedefine HAVE_BUILTIN_EXTENSION_SODIUM 1

/* Define to 1 if you have the `clock_gettime' function. */
#cmakedefine HAVE_CLOCK_GETTIME 1

/* Define to 1 for diagnostic tests. */
#cmakedefine HAVE_DIAGNOSTIC 1

/* Define to 1 to remove full memory barriers on diagnostic yields. */
#cmakedefine NON_BARRIER_DIAGNOSTIC_YIELDS 0

/* Define to 1 for unit tests. */
#cmakedefine HAVE_UNITTEST 0

/* Define to 1 if you have the <dlfcn.h> header file. */
#cmakedefine HAVE_DLFCN_H 1

/* Define to 1 if you have the `fallocate' function. */
#cmakedefine HAVE_FALLOCATE 1

/* Define to 1 if you have the `fdatasync' function. */
#cmakedefine HAVE_FDATASYNC 1

/* Define to 1 if you have the `ftruncate' function. */
#cmakedefine HAVE_FTRUNCATE 1

/* Define to 1 if you have the `gettimeofday' function. */
#cmakedefine HAVE_GETTIMEOFDAY 1

/* Define to 1 if you have the <inttypes.h> header file. */
#cmakedefine HAVE_INTTYPES_H 1

/* Define to 1 if you have the `dl' library (-ldl). */
#cmakedefine HAVE_LIBDL 1

/* Define to 1 if you have the `lz4' library (-llz4). */
#cmakedefine HAVE_LIBLZ4 1

/* Define to 1 if you have the `pthread' library (-lpthread). */
#cmakedefine HAVE_LIBPTHREAD 1

/* Define to 1 if you have the `rt' library (-lrt). */
#cmakedefine HAVE_LIBRT 1

/* Define to 1 if you have the `snappy' library (-lsnappy). */
#cmakedefine HAVE_LIBSNAPPY 1

/* Define to 1 if the user has explictly enabled TCMalloc builds. */
#cmakedefine ENABLE_TCMALLOC 1

/*
 * To remain compatible with autoconf & scons builds, we
 * define HAVE_LIBTCMALLOC for configuring our sources to actually
 * include the tcmalloc headers, as opposed to the sources
 * using ENABLE_TCMALLOC.
 */
#if defined ENABLE_TCMALLOC
  /* Define to 1 if you have the `tcmalloc' library (-ltcmalloc). */
  #cmakedefine HAVE_LIBTCMALLOC 1
#endif

/* Define to 1 if you have the `z' library (-lz). */
#cmakedefine HAVE_LIBZ 1

/* Define to 1 if you have the `zstd' library (-lzstd). */
#cmakedefine HAVE_LIBZSTD 1

/* Define to 1 if you have the `sodium' library (-lsodium). */
#cmakedefine HAVE_LIBSODIUM 1

/* Define to 1 if you have the <memory.h> header file. */
#cmakedefine HAVE_MEMORY_H 1

/* Define to 1 to disable any crc32 hardware support. */
#cmakedefine HAVE_NO_CRC32_HARDWARE

/* Define to 1 if you have the `posix_fadvise' function. */
#cmakedefine HAVE_POSIX_FADVISE 1

/* Define to 1 if you have the `posix_fallocate' function. */
#cmakedefine HAVE_POSIX_FALLOCATE 1

/* Define to 1 if you have the `posix_madvise' function. */
#cmakedefine HAVE_POSIX_MADVISE 1

/* Define to 1 if `posix_memalign' works. */
#cmakedefine HAVE_POSIX_MEMALIGN 1

/* Define to 1 if pthread condition variables support monotonic clocks. */
#cmakedefine HAVE_PTHREAD_COND_MONOTONIC 1;

/* Define to 1 if you have the `setrlimit' function. */
#cmakedefine HAVE_SETRLIMIT 1

/* Define to 1 if you have the <stdint.h> header file. */
#cmakedefine HAVE_STDINT_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#cmakedefine HAVE_STDLIB_H 1

/* Define to 1 if you have the <strings.h> header file. */
#cmakedefine HAVE_STRINGS_H 1

/* Define to 1 if you have the <string.h> header file. */
#cmakedefine HAVE_STRING_H 1

/* Define to 1 if you have the `strtouq' function. */
#cmakedefine HAVE_STRTOUQ 1

/* Define to 1 if you have the `sync_file_range' function. */
#cmakedefine HAVE_SYNC_FILE_RANGE 1

/* Define to 1 if you have the <sys/stat.h> header file. */
#cmakedefine HAVE_SYS_STAT_H 1

/* Define to 1 if you have the `timer_create' function. */
#cmakedefine HAVE_TIMER_CREATE 1

/* Define to 1 if you have the <unistd.h> header file. */
#cmakedefine HAVE_UNISTD_H 1

/* Define to 1 if you have the <x86intrin.h> header file. */
#cmakedefine HAVE_X86INTRIN_H 1

/* Spinlock type from mutex.h. */
#cmakedefine SPINLOCK_TYPE @SPINLOCK_TYPE_CONFIG_VAR@

/* Define to 1 if the target system is big endian */
#cmakedefine WORDS_BIGENDIAN 1

/* Version number of package */
#define VERSION "@VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@"

/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
   significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
#  define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
/* #  undef WORDS_BIGENDIAN */
# endif
#endif

/* Default alignment of buffers used for I/O. */
#define WT_BUFFER_ALIGNMENT_DEFAULT @WT_BUFFER_ALIGNMENT_DEFAULT@

/* Define to 1 to support standalone build. */
#cmakedefine WT_STANDALONE_BUILD 1

#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
#endif

#endif