]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /* config.h file expanded by Cmake for build */ |
2 | ||
3 | #ifndef CONFIG_H | |
4 | #define CONFIG_H | |
5 | ||
6 | /* fallocate(2) is supported */ | |
7 | #cmakedefine CEPH_HAVE_FALLOCATE | |
8 | ||
9 | /* Define to 1 if you have the `posix_fadvise' function. */ | |
10 | #cmakedefine HAVE_POSIX_FADVISE 1 | |
11 | ||
12 | /* Define to 1 if you have the `posix_fallocate' function. */ | |
13 | #cmakedefine HAVE_POSIX_FALLOCATE 1 | |
14 | ||
15 | /* Define to 1 if you have the `syncfs' function. */ | |
16 | #cmakedefine HAVE_SYS_SYNCFS 1 | |
17 | ||
18 | /* sync_file_range(2) is supported */ | |
19 | #cmakedefine HAVE_SYNC_FILE_RANGE | |
20 | ||
21 | /* Define if you have mallinfo */ | |
22 | #cmakedefine HAVE_MALLINFO | |
23 | ||
24 | /* Define to 1 if you have the `pwritev' function. */ | |
25 | #cmakedefine HAVE_PWRITEV 1 | |
26 | ||
27 | /* Define to 1 if you have the <sys/mount.h> header file. */ | |
28 | #cmakedefine HAVE_SYS_MOUNT_H 1 | |
29 | ||
30 | /* Define to 1 if you have the <sys/param.h> header file. */ | |
31 | #cmakedefine HAVE_SYS_PARAM_H 1 | |
32 | ||
33 | /* Define to 1 if you have the <sys/types.h> header file. */ | |
34 | #cmakedefine HAVE_SYS_TYPES_H 1 | |
35 | ||
36 | /* Define to 1 if you have the <sys/vfs.h> header file. */ | |
37 | #cmakedefine HAVE_SYS_VFS_H 1 | |
38 | ||
39 | /* Define to 1 if you have the <execinfo.h> header file. */ | |
40 | #cmakedefine HAVE_EXECINFO_H 1 | |
41 | ||
7c673cae FG |
42 | /* Define to 1 if the system has the type `__s16'. */ |
43 | #cmakedefine HAVE___S16 1 | |
44 | ||
45 | /* Define to 1 if the system has the type `__s32'. */ | |
46 | #cmakedefine HAVE___S32 1 | |
47 | ||
48 | /* Define to 1 if the system has the type `__s64'. */ | |
49 | #cmakedefine HAVE___S64 1 | |
50 | ||
51 | /* Define to 1 if the system has the type `__s8'. */ | |
52 | #cmakedefine HAVE___S8 1 | |
53 | ||
54 | /* Define to 1 if the system has the type `__u16'. */ | |
55 | #cmakedefine HAVE___U16 1 | |
56 | ||
57 | /* Define to 1 if the system has the type `__u32'. */ | |
58 | #cmakedefine HAVE___U32 1 | |
59 | ||
60 | /* Define to 1 if the system has the type `__u64'. */ | |
61 | #cmakedefine HAVE___U64 1 | |
62 | ||
63 | /* Define to 1 if the system has the type `__u8'. */ | |
64 | #cmakedefine HAVE___U8 1 | |
65 | ||
66 | /* Define if you have res_nquery */ | |
67 | #cmakedefine HAVE_RES_NQUERY | |
68 | ||
31f18b77 FG |
69 | /* Defined if you have LZ4 */ |
70 | #cmakedefine HAVE_LZ4 | |
7c673cae | 71 | |
11fdf7f2 TL |
72 | /* Defined if you have BROTLI */ |
73 | #cmakedefine HAVE_BROTLI | |
74 | ||
7c673cae FG |
75 | /* Defined if you have libaio */ |
76 | #cmakedefine HAVE_LIBAIO | |
77 | ||
9f95a23c TL |
78 | /* Defined if you have liburing */ |
79 | #cmakedefine HAVE_LIBURING | |
80 | ||
11fdf7f2 TL |
81 | /* Defind if you have POSIX AIO */ |
82 | #cmakedefine HAVE_POSIXAIO | |
83 | ||
7c673cae FG |
84 | /* Defined if OpenLDAP enabled */ |
85 | #cmakedefine HAVE_OPENLDAP | |
86 | ||
87 | /* Define if you have fuse */ | |
88 | #cmakedefine HAVE_LIBFUSE | |
89 | ||
e306af50 TL |
90 | /* Define version major */ |
91 | #define CEPH_FUSE_MAJOR_VERSION @FUSE_MAJOR_VERSION@ | |
92 | ||
93 | /* Define version minor */ | |
94 | #define CEPH_FUSE_MINOR_VERSION @FUSE_MINOR_VERSION@ | |
95 | ||
7c673cae FG |
96 | /* Define to 1 if you have libxfs */ |
97 | #cmakedefine HAVE_LIBXFS 1 | |
98 | ||
99 | /* SPDK conditional compilation */ | |
100 | #cmakedefine HAVE_SPDK | |
101 | ||
102 | /* DPDK conditional compilation */ | |
103 | #cmakedefine HAVE_DPDK | |
104 | ||
9f95a23c TL |
105 | /* PMEM_DEVICE (OSD) conditional compilation */ |
106 | #cmakedefine HAVE_BLUESTORE_PMEM | |
31f18b77 | 107 | |
7c673cae FG |
108 | /* Defined if LevelDB supports bloom filters */ |
109 | #cmakedefine HAVE_LEVELDB_FILTER_POLICY | |
110 | ||
111 | /* Define if you have tcmalloc */ | |
112 | #cmakedefine HAVE_LIBTCMALLOC | |
9f95a23c | 113 | #cmakedefine LIBTCMALLOC_MISSING_ALIGNED_ALLOC |
7c673cae | 114 | |
7c673cae FG |
115 | /* Define if have curl_multi_wait() */ |
116 | #cmakedefine HAVE_CURL_MULTI_WAIT 1 | |
117 | ||
7c673cae FG |
118 | /* AsyncMessenger RDMA conditional compilation */ |
119 | #cmakedefine HAVE_RDMA | |
120 | ||
121 | /* ibverbs experimental conditional compilation */ | |
122 | #cmakedefine HAVE_IBV_EXP | |
123 | ||
11fdf7f2 TL |
124 | /* define if bluestore enabled */ |
125 | #cmakedefine WITH_BLUESTORE | |
126 | ||
7c673cae FG |
127 | /* define if cephfs enabled */ |
128 | #cmakedefine WITH_CEPHFS | |
129 | ||
11fdf7f2 TL |
130 | /*define if GSSAPI/KRB5 enabled */ |
131 | #cmakedefine HAVE_GSSAPI | |
132 | ||
7c673cae FG |
133 | /* define if rbd enabled */ |
134 | #cmakedefine WITH_RBD | |
135 | ||
136 | /* define if kernel rbd enabled */ | |
137 | #cmakedefine WITH_KRBD | |
138 | ||
139 | /* define if key-value-store is enabled */ | |
140 | #cmakedefine WITH_KVS | |
141 | ||
142 | /* define if radosgw enabled */ | |
143 | #cmakedefine WITH_RADOSGW | |
144 | ||
145 | /* define if radosgw enabled */ | |
146 | #cmakedefine WITH_RADOSGW_FCGI_FRONTEND | |
147 | ||
148 | /* define if leveldb is enabled */ | |
149 | #cmakedefine WITH_LEVELDB | |
150 | ||
151 | /* define if radosgw's beast frontend enabled */ | |
152 | #cmakedefine WITH_RADOSGW_BEAST_FRONTEND | |
153 | ||
94b18763 FG |
154 | /* define if radosgw has openssl support */ |
155 | #cmakedefine WITH_CURL_OPENSSL | |
156 | ||
7c673cae FG |
157 | /* define if HAVE_THREAD_SAFE_RES_QUERY */ |
158 | #cmakedefine HAVE_THREAD_SAFE_RES_QUERY | |
159 | ||
160 | /* define if HAVE_REENTRANT_STRSIGNAL */ | |
161 | #cmakedefine HAVE_REENTRANT_STRSIGNAL | |
162 | ||
163 | /* Define if you want to use LTTng */ | |
164 | #cmakedefine WITH_LTTNG | |
165 | ||
9f95a23c TL |
166 | /* Define if you want to use EVENTTRACE */ |
167 | #cmakedefine WITH_EVENTTRACE | |
168 | ||
31f18b77 FG |
169 | /* Define if you want to OSD function instrumentation */ |
170 | #cmakedefine WITH_OSD_INSTRUMENT_FUNCTIONS | |
171 | ||
7c673cae FG |
172 | /* Define if you want to use Babeltrace */ |
173 | #cmakedefine WITH_BABELTRACE | |
174 | ||
175 | /* Define to 1 if you have the <babeltrace/babeltrace.h> header file. */ | |
176 | #cmakedefine HAVE_BABELTRACE_BABELTRACE_H 1 | |
177 | ||
178 | /* Define to 1 if you have the <babeltrace/ctf/events.h> header file. */ | |
179 | #cmakedefine HAVE_BABELTRACE_CTF_EVENTS_H 1 | |
180 | ||
181 | /* Define to 1 if you have the <babeltrace/ctf/iterator.h> header file. */ | |
182 | #cmakedefine HAVE_BABELTRACE_CTF_ITERATOR_H 1 | |
183 | ||
184 | /* Define to 1 if you have the <arpa/nameser_compat.h> header file. */ | |
185 | #cmakedefine HAVE_ARPA_NAMESER_COMPAT_H 1 | |
186 | ||
187 | /* FastCGI headers are in /usr/include/fastcgi */ | |
188 | #cmakedefine FASTCGI_INCLUDE_DIR | |
189 | ||
190 | /* splice(2) is supported */ | |
191 | #cmakedefine CEPH_HAVE_SPLICE | |
192 | ||
193 | /* Define if you want C_Gather debugging */ | |
194 | #cmakedefine DEBUG_GATHER | |
195 | ||
196 | /* Define to 1 if you have the `getgrouplist' function. */ | |
197 | #cmakedefine HAVE_GETGROUPLIST 1 | |
198 | ||
199 | /* LTTng is disabled, so define this macro to be nothing. */ | |
200 | #cmakedefine tracepoint | |
201 | ||
7c673cae FG |
202 | /* Define to 1 if you have fdatasync. */ |
203 | #cmakedefine HAVE_FDATASYNC 1 | |
204 | ||
7c673cae FG |
205 | /* Defined if you have librocksdb enabled */ |
206 | #cmakedefine HAVE_LIBROCKSDB | |
207 | ||
208 | /* Define to 1 if you have the <valgrind/helgrind.h> header file. */ | |
209 | #cmakedefine HAVE_VALGRIND_HELGRIND_H 1 | |
210 | ||
7c673cae FG |
211 | /* Define to 1 if you have the <sys/prctl.h> header file. */ |
212 | #cmakedefine HAVE_SYS_PRCTL_H 1 | |
213 | ||
214 | /* Define to 1 if you have the <linux/types.h> header file. */ | |
215 | #cmakedefine HAVE_LINUX_TYPES_H 1 | |
216 | ||
217 | /* Define to 1 if you have the <linux/version.h> header file. */ | |
218 | #cmakedefine HAVE_LINUX_VERSION_H 1 | |
219 | ||
220 | /* Define to 1 if you have sched.h. */ | |
221 | #cmakedefine HAVE_SCHED 1 | |
222 | ||
adb31ebb TL |
223 | /* Define to 1 if you have sigdescr_np. */ |
224 | #cmakedefine HAVE_SIGDESCR_NP 1 | |
225 | ||
7c673cae FG |
226 | /* Support SSE (Streaming SIMD Extensions) instructions */ |
227 | #cmakedefine HAVE_SSE | |
228 | ||
229 | /* Support SSE2 (Streaming SIMD Extensions 2) instructions */ | |
230 | #cmakedefine HAVE_SSE2 | |
231 | ||
232 | /* Define to 1 if you have the `pipe2' function. */ | |
233 | #cmakedefine HAVE_PIPE2 1 | |
234 | ||
235 | /* Support NEON instructions */ | |
236 | #cmakedefine HAVE_NEON | |
237 | ||
238 | /* Define if you have pthread_spin_init */ | |
239 | #cmakedefine HAVE_PTHREAD_SPINLOCK | |
240 | ||
241 | /* name_to_handle_at exists */ | |
242 | #cmakedefine HAVE_NAME_TO_HANDLE_AT | |
243 | ||
244 | /* we have a recent yasm and are x86_64 */ | |
245 | #cmakedefine HAVE_GOOD_YASM_ELF64 | |
246 | ||
247 | /* yasm can also build the isa-l */ | |
248 | #cmakedefine HAVE_BETTER_YASM_ELF64 | |
249 | ||
f91f0fd5 TL |
250 | /* Define if isa-l is compiled for arm64 */ |
251 | #cmakedefine HAVE_ARMV8_SIMD | |
252 | ||
7c673cae FG |
253 | /* Define to 1 if strerror_r returns char *. */ |
254 | #cmakedefine STRERROR_R_CHAR_P 1 | |
255 | ||
256 | /* Defined if you have libzfs enabled */ | |
257 | #cmakedefine HAVE_LIBZFS | |
258 | ||
11fdf7f2 | 259 | /* Define if the C compiler supports __func__ */ |
7c673cae FG |
260 | #cmakedefine HAVE_FUNC |
261 | ||
11fdf7f2 | 262 | /* Define if the C compiler supports __PRETTY_FUNCTION__ */ |
7c673cae FG |
263 | #cmakedefine HAVE_PRETTY_FUNC |
264 | ||
7c673cae FG |
265 | /* Have eventfd extension. */ |
266 | #cmakedefine HAVE_EVENTFD | |
267 | ||
268 | /* Define if enabling coverage. */ | |
269 | #cmakedefine ENABLE_COVERAGE | |
270 | ||
271 | /* Defined if you want pg ref debugging */ | |
272 | #cmakedefine PG_DEBUG_REFS | |
273 | ||
274 | /* Support ARMv8 CRC instructions */ | |
275 | #cmakedefine HAVE_ARMV8_CRC | |
276 | ||
277 | /* Support ARMv8 CRYPTO instructions */ | |
278 | #cmakedefine HAVE_ARMV8_CRYPTO | |
279 | ||
280 | /* Support ARMv8 CRC and CRYPTO intrinsics */ | |
281 | #cmakedefine HAVE_ARMV8_CRC_CRYPTO_INTRINSICS | |
282 | ||
283 | /* Define if you have struct stat.st_mtimespec.tv_nsec */ | |
284 | #cmakedefine HAVE_STAT_ST_MTIMESPEC_TV_NSEC | |
285 | ||
286 | /* Define if you have struct stat.st_mtim.tv_nsec */ | |
287 | #cmakedefine HAVE_STAT_ST_MTIM_TV_NSEC | |
288 | ||
289 | /* Define if compiler supports static_cast<> */ | |
290 | #cmakedefine HAVE_STATIC_CAST | |
291 | ||
292 | /* Version number of package */ | |
9f95a23c | 293 | #cmakedefine PROJECT_VERSION "@PROJECT_VERSION@" |
7c673cae FG |
294 | |
295 | /* Defined if pthread_setname_np() is available */ | |
296 | #cmakedefine HAVE_PTHREAD_SETNAME_NP 1 | |
297 | ||
b32b8144 FG |
298 | /* Defined if pthread_rwlockattr_setkind_np() is available */ |
299 | #cmakedefine HAVE_PTHREAD_RWLOCKATTR_SETKIND_NP | |
300 | ||
7c673cae FG |
301 | /* Defined if blkin enabled */ |
302 | #cmakedefine WITH_BLKIN | |
303 | ||
304 | /* Defined if pthread_set_name_np() is available */ | |
305 | #cmakedefine HAVE_PTHREAD_SET_NAME_NP | |
306 | ||
307 | /* Defined if pthread_getname_np() is available */ | |
308 | #cmakedefine HAVE_PTHREAD_GETNAME_NP 1 | |
309 | ||
310 | /* Support POWER8 instructions */ | |
311 | #cmakedefine HAVE_POWER8 | |
312 | ||
313 | /* Define if endian type is big endian */ | |
314 | #cmakedefine CEPH_BIG_ENDIAN | |
315 | ||
316 | /* Define if endian type is little endian */ | |
317 | #cmakedefine CEPH_LITTLE_ENDIAN | |
318 | ||
eafe8130 | 319 | #cmakedefine MGR_PYTHON_EXECUTABLE "@MGR_PYTHON_EXECUTABLE@" |
7c673cae | 320 | |
31f18b77 FG |
321 | /* Define to 1 if you have the `getprogname' function. */ |
322 | #cmakedefine HAVE_GETPROGNAME 1 | |
323 | ||
11fdf7f2 TL |
324 | /* Defined if getentropy() is available */ |
325 | #cmakedefine HAVE_GETENTROPY | |
326 | ||
b32b8144 FG |
327 | /* Defined if boost::context is available */ |
328 | #cmakedefine HAVE_BOOST_CONTEXT | |
329 | ||
11fdf7f2 TL |
330 | /* Defined if libradosstriper is enabled: */ |
331 | #cmakedefine WITH_LIBRADOSSTRIPER | |
332 | ||
f64942e4 AA |
333 | /* Defined if OpenSSL is available for the rgw beast frontend */ |
334 | #cmakedefine WITH_RADOSGW_BEAST_OPENSSL | |
335 | ||
11fdf7f2 TL |
336 | /* Defined if rabbitmq-c is available for rgw amqp push endpoint */ |
337 | #cmakedefine WITH_RADOSGW_AMQP_ENDPOINT | |
338 | ||
9f95a23c TL |
339 | /* Defined if libedkafka is available for rgw kafka push endpoint */ |
340 | #cmakedefine WITH_RADOSGW_KAFKA_ENDPOINT | |
341 | ||
11fdf7f2 TL |
342 | /* Defined if std::map::merge() is supported */ |
343 | #cmakedefine HAVE_STDLIB_MAP_SPLICING | |
344 | ||
345 | /* Defined if Intel QAT compress/decompress is supported */ | |
346 | #cmakedefine HAVE_QATZIP | |
347 | ||
348 | /* Define if seastar is available. */ | |
349 | #cmakedefine HAVE_SEASTAR | |
350 | ||
351 | /* Define if unit tests are built. */ | |
352 | #cmakedefine UNIT_TESTS_BUILT | |
353 | ||
9f95a23c TL |
354 | /* Define if RWL is enabled */ |
355 | #cmakedefine WITH_RBD_RWL | |
356 | ||
7c673cae | 357 | #endif /* CONFIG_H */ |