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