]> git.proxmox.com Git - ceph.git/blame - ceph/src/include/config-h.in.cmake
import 15.2.0 Octopus source
[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
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
90/* Define to 1 if you have libxfs */
91#cmakedefine HAVE_LIBXFS 1
92
93/* SPDK conditional compilation */
94#cmakedefine HAVE_SPDK
95
96/* DPDK conditional compilation */
97#cmakedefine HAVE_DPDK
98
9f95a23c
TL
99/* PMEM_DEVICE (OSD) conditional compilation */
100#cmakedefine HAVE_BLUESTORE_PMEM
31f18b77 101
7c673cae
FG
102/* Defined if LevelDB supports bloom filters */
103#cmakedefine HAVE_LEVELDB_FILTER_POLICY
104
105/* Define if you have tcmalloc */
106#cmakedefine HAVE_LIBTCMALLOC
9f95a23c 107#cmakedefine LIBTCMALLOC_MISSING_ALIGNED_ALLOC
7c673cae 108
7c673cae
FG
109/* Define if have curl_multi_wait() */
110#cmakedefine HAVE_CURL_MULTI_WAIT 1
111
7c673cae
FG
112/* AsyncMessenger RDMA conditional compilation */
113#cmakedefine HAVE_RDMA
114
115/* ibverbs experimental conditional compilation */
116#cmakedefine HAVE_IBV_EXP
117
11fdf7f2
TL
118/* define if bluestore enabled */
119#cmakedefine WITH_BLUESTORE
120
7c673cae
FG
121/* define if cephfs enabled */
122#cmakedefine WITH_CEPHFS
123
11fdf7f2
TL
124/*define if GSSAPI/KRB5 enabled */
125#cmakedefine HAVE_GSSAPI
126
7c673cae
FG
127/* define if rbd enabled */
128#cmakedefine WITH_RBD
129
130/* define if kernel rbd enabled */
131#cmakedefine WITH_KRBD
132
133/* define if key-value-store is enabled */
134#cmakedefine WITH_KVS
135
136/* define if radosgw enabled */
137#cmakedefine WITH_RADOSGW
138
139/* define if radosgw enabled */
140#cmakedefine WITH_RADOSGW_FCGI_FRONTEND
141
142/* define if leveldb is enabled */
143#cmakedefine WITH_LEVELDB
144
145/* define if radosgw's beast frontend enabled */
146#cmakedefine WITH_RADOSGW_BEAST_FRONTEND
147
94b18763
FG
148/* define if radosgw has openssl support */
149#cmakedefine WITH_CURL_OPENSSL
150
7c673cae
FG
151/* define if HAVE_THREAD_SAFE_RES_QUERY */
152#cmakedefine HAVE_THREAD_SAFE_RES_QUERY
153
154/* define if HAVE_REENTRANT_STRSIGNAL */
155#cmakedefine HAVE_REENTRANT_STRSIGNAL
156
157/* Define if you want to use LTTng */
158#cmakedefine WITH_LTTNG
159
9f95a23c
TL
160/* Define if you want to use EVENTTRACE */
161#cmakedefine WITH_EVENTTRACE
162
31f18b77
FG
163/* Define if you want to OSD function instrumentation */
164#cmakedefine WITH_OSD_INSTRUMENT_FUNCTIONS
165
7c673cae
FG
166/* Define if you want to use Babeltrace */
167#cmakedefine WITH_BABELTRACE
168
169/* Define to 1 if you have the <babeltrace/babeltrace.h> header file. */
170#cmakedefine HAVE_BABELTRACE_BABELTRACE_H 1
171
172/* Define to 1 if you have the <babeltrace/ctf/events.h> header file. */
173#cmakedefine HAVE_BABELTRACE_CTF_EVENTS_H 1
174
175/* Define to 1 if you have the <babeltrace/ctf/iterator.h> header file. */
176#cmakedefine HAVE_BABELTRACE_CTF_ITERATOR_H 1
177
178/* Define to 1 if you have the <arpa/nameser_compat.h> header file. */
179#cmakedefine HAVE_ARPA_NAMESER_COMPAT_H 1
180
181/* FastCGI headers are in /usr/include/fastcgi */
182#cmakedefine FASTCGI_INCLUDE_DIR
183
184/* splice(2) is supported */
185#cmakedefine CEPH_HAVE_SPLICE
186
187/* Define if you want C_Gather debugging */
188#cmakedefine DEBUG_GATHER
189
190/* Define to 1 if you have the `getgrouplist' function. */
191#cmakedefine HAVE_GETGROUPLIST 1
192
193/* LTTng is disabled, so define this macro to be nothing. */
194#cmakedefine tracepoint
195
7c673cae
FG
196/* Define to 1 if you have fdatasync. */
197#cmakedefine HAVE_FDATASYNC 1
198
7c673cae
FG
199/* Defined if you have librocksdb enabled */
200#cmakedefine HAVE_LIBROCKSDB
201
202/* Define to 1 if you have the <valgrind/helgrind.h> header file. */
203#cmakedefine HAVE_VALGRIND_HELGRIND_H 1
204
7c673cae
FG
205/* Define to 1 if you have the <sys/prctl.h> header file. */
206#cmakedefine HAVE_SYS_PRCTL_H 1
207
208/* Define to 1 if you have the <linux/types.h> header file. */
209#cmakedefine HAVE_LINUX_TYPES_H 1
210
211/* Define to 1 if you have the <linux/version.h> header file. */
212#cmakedefine HAVE_LINUX_VERSION_H 1
213
214/* Define to 1 if you have sched.h. */
215#cmakedefine HAVE_SCHED 1
216
217/* Support SSE (Streaming SIMD Extensions) instructions */
218#cmakedefine HAVE_SSE
219
220/* Support SSE2 (Streaming SIMD Extensions 2) instructions */
221#cmakedefine HAVE_SSE2
222
223/* Define to 1 if you have the `pipe2' function. */
224#cmakedefine HAVE_PIPE2 1
225
226/* Support NEON instructions */
227#cmakedefine HAVE_NEON
228
229/* Define if you have pthread_spin_init */
230#cmakedefine HAVE_PTHREAD_SPINLOCK
231
232/* name_to_handle_at exists */
233#cmakedefine HAVE_NAME_TO_HANDLE_AT
234
235/* we have a recent yasm and are x86_64 */
236#cmakedefine HAVE_GOOD_YASM_ELF64
237
238/* yasm can also build the isa-l */
239#cmakedefine HAVE_BETTER_YASM_ELF64
240
241/* Define to 1 if strerror_r returns char *. */
242#cmakedefine STRERROR_R_CHAR_P 1
243
244/* Defined if you have libzfs enabled */
245#cmakedefine HAVE_LIBZFS
246
11fdf7f2 247/* Define if the C compiler supports __func__ */
7c673cae
FG
248#cmakedefine HAVE_FUNC
249
11fdf7f2 250/* Define if the C compiler supports __PRETTY_FUNCTION__ */
7c673cae
FG
251#cmakedefine HAVE_PRETTY_FUNC
252
7c673cae
FG
253/* Have eventfd extension. */
254#cmakedefine HAVE_EVENTFD
255
256/* Define if enabling coverage. */
257#cmakedefine ENABLE_COVERAGE
258
259/* Defined if you want pg ref debugging */
260#cmakedefine PG_DEBUG_REFS
261
262/* Support ARMv8 CRC instructions */
263#cmakedefine HAVE_ARMV8_CRC
264
265/* Support ARMv8 CRYPTO instructions */
266#cmakedefine HAVE_ARMV8_CRYPTO
267
268/* Support ARMv8 CRC and CRYPTO intrinsics */
269#cmakedefine HAVE_ARMV8_CRC_CRYPTO_INTRINSICS
270
271/* Define if you have struct stat.st_mtimespec.tv_nsec */
272#cmakedefine HAVE_STAT_ST_MTIMESPEC_TV_NSEC
273
274/* Define if you have struct stat.st_mtim.tv_nsec */
275#cmakedefine HAVE_STAT_ST_MTIM_TV_NSEC
276
277/* Define if compiler supports static_cast<> */
278#cmakedefine HAVE_STATIC_CAST
279
280/* Version number of package */
9f95a23c 281#cmakedefine PROJECT_VERSION "@PROJECT_VERSION@"
7c673cae
FG
282
283/* Defined if pthread_setname_np() is available */
284#cmakedefine HAVE_PTHREAD_SETNAME_NP 1
285
b32b8144
FG
286/* Defined if pthread_rwlockattr_setkind_np() is available */
287#cmakedefine HAVE_PTHREAD_RWLOCKATTR_SETKIND_NP
288
7c673cae
FG
289/* Defined if blkin enabled */
290#cmakedefine WITH_BLKIN
291
292/* Defined if pthread_set_name_np() is available */
293#cmakedefine HAVE_PTHREAD_SET_NAME_NP
294
295/* Defined if pthread_getname_np() is available */
296#cmakedefine HAVE_PTHREAD_GETNAME_NP 1
297
298/* Support POWER8 instructions */
299#cmakedefine HAVE_POWER8
300
301/* Define if endian type is big endian */
302#cmakedefine CEPH_BIG_ENDIAN
303
304/* Define if endian type is little endian */
305#cmakedefine CEPH_LITTLE_ENDIAN
306
eafe8130 307#cmakedefine MGR_PYTHON_EXECUTABLE "@MGR_PYTHON_EXECUTABLE@"
7c673cae 308
31f18b77
FG
309/* Define to 1 if you have the `getprogname' function. */
310#cmakedefine HAVE_GETPROGNAME 1
311
11fdf7f2
TL
312/* Defined if getentropy() is available */
313#cmakedefine HAVE_GETENTROPY
314
b32b8144
FG
315/* Defined if boost::context is available */
316#cmakedefine HAVE_BOOST_CONTEXT
317
11fdf7f2
TL
318/* Defined if libradosstriper is enabled: */
319#cmakedefine WITH_LIBRADOSSTRIPER
320
f64942e4
AA
321/* Defined if OpenSSL is available for the rgw beast frontend */
322#cmakedefine WITH_RADOSGW_BEAST_OPENSSL
323
11fdf7f2
TL
324/* Defined if rabbitmq-c is available for rgw amqp push endpoint */
325#cmakedefine WITH_RADOSGW_AMQP_ENDPOINT
326
9f95a23c
TL
327/* Defined if libedkafka is available for rgw kafka push endpoint */
328#cmakedefine WITH_RADOSGW_KAFKA_ENDPOINT
329
11fdf7f2
TL
330/* Defined if std::map::merge() is supported */
331#cmakedefine HAVE_STDLIB_MAP_SPLICING
332
333/* Defined if Intel QAT compress/decompress is supported */
334#cmakedefine HAVE_QATZIP
335
336/* Define if seastar is available. */
337#cmakedefine HAVE_SEASTAR
338
339/* Define if unit tests are built. */
340#cmakedefine UNIT_TESTS_BUILT
341
9f95a23c
TL
342/* Define if RWL is enabled */
343#cmakedefine WITH_RBD_RWL
344
7c673cae 345#endif /* CONFIG_H */