]> git.proxmox.com Git - ceph.git/blame - ceph/src/include/config-h.in.cmake
import ceph 14.2.5
[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
42/* Define to 1 if the system has the type `__be16'. */
43#cmakedefine HAVE___BE16 1
44
45/* Define to 1 if the system has the type `__be32'. */
46#cmakedefine HAVE___BE32 1
47
48/* Define to 1 if the system has the type `__be64'. */
49#cmakedefine HAVE___BE64 1
50
51/* Define to 1 if the system has the type `__le16'. */
52#cmakedefine HAVE___LE16 1
53
54/* Define to 1 if the system has the type `__le32'. */
55#cmakedefine HAVE___LE32 1
56
57/* Define to 1 if the system has the type `__le64'. */
58#cmakedefine HAVE___LE64 1
59
60/* Define to 1 if the system has the type `__s16'. */
61#cmakedefine HAVE___S16 1
62
63/* Define to 1 if the system has the type `__s32'. */
64#cmakedefine HAVE___S32 1
65
66/* Define to 1 if the system has the type `__s64'. */
67#cmakedefine HAVE___S64 1
68
69/* Define to 1 if the system has the type `__s8'. */
70#cmakedefine HAVE___S8 1
71
72/* Define to 1 if the system has the type `__u16'. */
73#cmakedefine HAVE___U16 1
74
75/* Define to 1 if the system has the type `__u32'. */
76#cmakedefine HAVE___U32 1
77
78/* Define to 1 if the system has the type `__u64'. */
79#cmakedefine HAVE___U64 1
80
81/* Define to 1 if the system has the type `__u8'. */
82#cmakedefine HAVE___U8 1
83
84/* Define if you have res_nquery */
85#cmakedefine HAVE_RES_NQUERY
86
31f18b77
FG
87/* Defined if you have LZ4 */
88#cmakedefine HAVE_LZ4
7c673cae 89
11fdf7f2
TL
90/* Defined if you have BROTLI */
91#cmakedefine HAVE_BROTLI
92
7c673cae
FG
93/* Defined if you have libaio */
94#cmakedefine HAVE_LIBAIO
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
105/* Define to 1 if you have libxfs */
106#cmakedefine HAVE_LIBXFS 1
107
108/* SPDK conditional compilation */
109#cmakedefine HAVE_SPDK
110
111/* DPDK conditional compilation */
112#cmakedefine HAVE_DPDK
113
31f18b77
FG
114/* PMEM conditional compilation */
115#cmakedefine HAVE_PMEM
116
7c673cae
FG
117/* Defined if LevelDB supports bloom filters */
118#cmakedefine HAVE_LEVELDB_FILTER_POLICY
119
120/* Define if you have tcmalloc */
121#cmakedefine HAVE_LIBTCMALLOC
122
7c673cae
FG
123/* Define if have curl_multi_wait() */
124#cmakedefine HAVE_CURL_MULTI_WAIT 1
125
7c673cae
FG
126/* Define if using NSS. */
127#cmakedefine USE_NSS
128
11fdf7f2
TL
129/* Define if using OpenSSL. */
130#cmakedefine USE_OPENSSL
131
7c673cae
FG
132/* Accelio conditional compilation */
133#cmakedefine HAVE_XIO
134
135
136/* AsyncMessenger RDMA conditional compilation */
137#cmakedefine HAVE_RDMA
138
139/* ibverbs experimental conditional compilation */
140#cmakedefine HAVE_IBV_EXP
141
11fdf7f2
TL
142/* define if bluestore enabled */
143#cmakedefine WITH_BLUESTORE
144
7c673cae
FG
145/* define if cephfs enabled */
146#cmakedefine WITH_CEPHFS
147
11fdf7f2
TL
148/*define if GSSAPI/KRB5 enabled */
149#cmakedefine HAVE_GSSAPI
150
7c673cae
FG
151/* define if rbd enabled */
152#cmakedefine WITH_RBD
153
154/* define if kernel rbd enabled */
155#cmakedefine WITH_KRBD
156
157/* define if key-value-store is enabled */
158#cmakedefine WITH_KVS
159
160/* define if radosgw enabled */
161#cmakedefine WITH_RADOSGW
162
163/* define if radosgw enabled */
164#cmakedefine WITH_RADOSGW_FCGI_FRONTEND
165
166/* define if leveldb is enabled */
167#cmakedefine WITH_LEVELDB
168
169/* define if radosgw's beast frontend enabled */
170#cmakedefine WITH_RADOSGW_BEAST_FRONTEND
171
94b18763
FG
172/* define if radosgw has openssl support */
173#cmakedefine WITH_CURL_OPENSSL
174
7c673cae
FG
175/* define if HAVE_THREAD_SAFE_RES_QUERY */
176#cmakedefine HAVE_THREAD_SAFE_RES_QUERY
177
178/* define if HAVE_REENTRANT_STRSIGNAL */
179#cmakedefine HAVE_REENTRANT_STRSIGNAL
180
181/* Define if you want to use LTTng */
182#cmakedefine WITH_LTTNG
183
31f18b77
FG
184/* Define if you want to OSD function instrumentation */
185#cmakedefine WITH_OSD_INSTRUMENT_FUNCTIONS
186
7c673cae
FG
187/* Define if you want to use Babeltrace */
188#cmakedefine WITH_BABELTRACE
189
190/* Define to 1 if you have the <babeltrace/babeltrace.h> header file. */
191#cmakedefine HAVE_BABELTRACE_BABELTRACE_H 1
192
193/* Define to 1 if you have the <babeltrace/ctf/events.h> header file. */
194#cmakedefine HAVE_BABELTRACE_CTF_EVENTS_H 1
195
196/* Define to 1 if you have the <babeltrace/ctf/iterator.h> header file. */
197#cmakedefine HAVE_BABELTRACE_CTF_ITERATOR_H 1
198
199/* Define to 1 if you have the <arpa/nameser_compat.h> header file. */
200#cmakedefine HAVE_ARPA_NAMESER_COMPAT_H 1
201
202/* FastCGI headers are in /usr/include/fastcgi */
203#cmakedefine FASTCGI_INCLUDE_DIR
204
205/* splice(2) is supported */
206#cmakedefine CEPH_HAVE_SPLICE
207
208/* Define if you want C_Gather debugging */
209#cmakedefine DEBUG_GATHER
210
211/* Define to 1 if you have the `getgrouplist' function. */
212#cmakedefine HAVE_GETGROUPLIST 1
213
214/* LTTng is disabled, so define this macro to be nothing. */
215#cmakedefine tracepoint
216
7c673cae
FG
217/* Define to 1 if you have fdatasync. */
218#cmakedefine HAVE_FDATASYNC 1
219
7c673cae
FG
220/* Defined if you have librocksdb enabled */
221#cmakedefine HAVE_LIBROCKSDB
222
223/* Define to 1 if you have the <valgrind/helgrind.h> header file. */
224#cmakedefine HAVE_VALGRIND_HELGRIND_H 1
225
7c673cae
FG
226/* Define to 1 if you have the <sys/prctl.h> header file. */
227#cmakedefine HAVE_SYS_PRCTL_H 1
228
229/* Define to 1 if you have the <linux/types.h> header file. */
230#cmakedefine HAVE_LINUX_TYPES_H 1
231
232/* Define to 1 if you have the <linux/version.h> header file. */
233#cmakedefine HAVE_LINUX_VERSION_H 1
234
235/* Define to 1 if you have sched.h. */
236#cmakedefine HAVE_SCHED 1
237
238/* Support SSE (Streaming SIMD Extensions) instructions */
239#cmakedefine HAVE_SSE
240
241/* Support SSE2 (Streaming SIMD Extensions 2) instructions */
242#cmakedefine HAVE_SSE2
243
244/* Define to 1 if you have the `pipe2' function. */
245#cmakedefine HAVE_PIPE2 1
246
247/* Support NEON instructions */
248#cmakedefine HAVE_NEON
249
250/* Define if you have pthread_spin_init */
251#cmakedefine HAVE_PTHREAD_SPINLOCK
252
253/* name_to_handle_at exists */
254#cmakedefine HAVE_NAME_TO_HANDLE_AT
255
256/* we have a recent yasm and are x86_64 */
257#cmakedefine HAVE_GOOD_YASM_ELF64
258
259/* yasm can also build the isa-l */
260#cmakedefine HAVE_BETTER_YASM_ELF64
261
262/* Define to 1 if strerror_r returns char *. */
263#cmakedefine STRERROR_R_CHAR_P 1
264
265/* Defined if you have libzfs enabled */
266#cmakedefine HAVE_LIBZFS
267
11fdf7f2 268/* Define if the C compiler supports __func__ */
7c673cae
FG
269#cmakedefine HAVE_FUNC
270
11fdf7f2 271/* Define if the C compiler supports __PRETTY_FUNCTION__ */
7c673cae
FG
272#cmakedefine HAVE_PRETTY_FUNC
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 */
302#cmakedefine VERSION "@VERSION@"
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
b32b8144
FG
336/* Defined if boost::context is available */
337#cmakedefine HAVE_BOOST_CONTEXT
338
11fdf7f2
TL
339/* Defined if libradosstriper is enabled: */
340#cmakedefine WITH_LIBRADOSSTRIPER
341
f64942e4
AA
342/* Defined if OpenSSL is available for the rgw beast frontend */
343#cmakedefine WITH_RADOSGW_BEAST_OPENSSL
344
11fdf7f2
TL
345/* Defined if rabbitmq-c is available for rgw amqp push endpoint */
346#cmakedefine WITH_RADOSGW_AMQP_ENDPOINT
347
348/* Defined if std::map::merge() is supported */
349#cmakedefine HAVE_STDLIB_MAP_SPLICING
350
351/* Defined if Intel QAT compress/decompress is supported */
352#cmakedefine HAVE_QATZIP
353
354/* Define if seastar is available. */
355#cmakedefine HAVE_SEASTAR
356
357/* Define if unit tests are built. */
358#cmakedefine UNIT_TESTS_BUILT
359
7c673cae 360#endif /* CONFIG_H */