OSDN Git Service

[dump] Make LLVM_ENABLE_DUMP independent, and move to llvm-config.h
[android-x86/external-llvm.git] / include / llvm / Config / config.h.cmake
1 #ifndef CONFIG_H
2 #define CONFIG_H
3
4 /* Exported configuration */
5 #include "llvm/Config/llvm-config.h"
6
7 /* Bug report URL. */
8 #define BUG_REPORT_URL "${BUG_REPORT_URL}"
9
10 /* Define to 1 to enable backtraces, and to 0 otherwise. */
11 #cmakedefine01 ENABLE_BACKTRACES
12
13 /* Define to 1 to enable crash overrides, and to 0 otherwise. */
14 #cmakedefine01 ENABLE_CRASH_OVERRIDES
15
16 /* Define to 1 if you have the `backtrace' function. */
17 #cmakedefine HAVE_BACKTRACE ${HAVE_BACKTRACE}
18
19 #define BACKTRACE_HEADER <${BACKTRACE_HEADER}>
20
21 /* Define to 1 if you have the <CrashReporterClient.h> header file. */
22 #cmakedefine HAVE_CRASHREPORTERCLIENT_H
23
24 /* can use __crashreporter_info__ */
25 #cmakedefine01 HAVE_CRASHREPORTER_INFO
26
27 /* Define to 1 if you have the declaration of `arc4random', and to 0 if you
28    don't. */
29 #cmakedefine01 HAVE_DECL_ARC4RANDOM
30
31 /* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you
32    don't. */
33 #cmakedefine01 HAVE_DECL_FE_ALL_EXCEPT
34
35 /* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you
36    don't. */
37 #cmakedefine01 HAVE_DECL_FE_INEXACT
38
39 /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you
40    don't. */
41 #cmakedefine01 HAVE_DECL_STRERROR_S
42
43 /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
44 #cmakedefine01 LLVM_ENABLE_DIA_SDK
45
46 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
47    */
48 #cmakedefine HAVE_DIRENT_H ${HAVE_DIRENT_H}
49
50 /* Define to 1 if you have the <dlfcn.h> header file. */
51 #cmakedefine HAVE_DLFCN_H ${HAVE_DLFCN_H}
52
53 /* Define if dlopen() is available on this platform. */
54 #cmakedefine HAVE_DLOPEN ${HAVE_DLOPEN}
55
56 /* Define if dladdr() is available on this platform. */
57 #cmakedefine HAVE_DLADDR ${HAVE_DLADDR}
58
59 /* Define to 1 if you have the <errno.h> header file. */
60 #cmakedefine HAVE_ERRNO_H ${HAVE_ERRNO_H}
61
62 /* Define to 1 if you have the <fcntl.h> header file. */
63 #cmakedefine HAVE_FCNTL_H ${HAVE_FCNTL_H}
64
65 /* Define to 1 if you have the <fenv.h> header file. */
66 #cmakedefine HAVE_FENV_H ${HAVE_FENV_H}
67
68 /* Define if libffi is available on this platform. */
69 #cmakedefine HAVE_FFI_CALL ${HAVE_FFI_CALL}
70
71 /* Define to 1 if you have the <ffi/ffi.h> header file. */
72 #cmakedefine HAVE_FFI_FFI_H ${HAVE_FFI_FFI_H}
73
74 /* Define to 1 if you have the <ffi.h> header file. */
75 #cmakedefine HAVE_FFI_H ${HAVE_FFI_H}
76
77 /* Define to 1 if you have the `futimens' function. */
78 #cmakedefine HAVE_FUTIMENS ${HAVE_FUTIMENS}
79
80 /* Define to 1 if you have the `futimes' function. */
81 #cmakedefine HAVE_FUTIMES ${HAVE_FUTIMES}
82
83 /* Define to 1 if you have the `getcwd' function. */
84 #cmakedefine HAVE_GETCWD ${HAVE_GETCWD}
85
86 /* Define to 1 if you have the `getpagesize' function. */
87 #cmakedefine HAVE_GETPAGESIZE ${HAVE_GETPAGESIZE}
88
89 /* Define to 1 if you have the `getrlimit' function. */
90 #cmakedefine HAVE_GETRLIMIT ${HAVE_GETRLIMIT}
91
92 /* Define to 1 if you have the `getrusage' function. */
93 #cmakedefine HAVE_GETRUSAGE ${HAVE_GETRUSAGE}
94
95 /* Define to 1 if you have the `gettimeofday' function. */
96 #cmakedefine HAVE_GETTIMEOFDAY ${HAVE_GETTIMEOFDAY}
97
98 /* Define to 1 if the system has the type `int64_t'. */
99 #cmakedefine HAVE_INT64_T ${HAVE_INT64_T}
100
101 /* Define to 1 if you have the <inttypes.h> header file. */
102 #cmakedefine HAVE_INTTYPES_H ${HAVE_INTTYPES_H}
103
104 /* Define to 1 if you have the `isatty' function. */
105 #cmakedefine HAVE_ISATTY 1
106
107 /* Define to 1 if you have the `edit' library (-ledit). */
108 #cmakedefine HAVE_LIBEDIT ${HAVE_LIBEDIT}
109
110 /* Define to 1 if you have the `psapi' library (-lpsapi). */
111 #cmakedefine HAVE_LIBPSAPI ${HAVE_LIBPSAPI}
112
113 /* Define to 1 if you have the `pthread' library (-lpthread). */
114 #cmakedefine HAVE_LIBPTHREAD ${HAVE_LIBPTHREAD}
115
116 /* Define to 1 if you have the `pthread_getname_np' function. */
117 #cmakedefine HAVE_PTHREAD_GETNAME_NP ${HAVE_PTHREAD_GETNAME_NP}
118
119 /* Define to 1 if you have the `pthread_setname_np' function. */
120 #cmakedefine HAVE_PTHREAD_SETNAME_NP ${HAVE_PTHREAD_SETNAME_NP}
121
122 /* Define to 1 if you have the `shell32' library (-lshell32). */
123 #cmakedefine HAVE_LIBSHELL32 ${HAVE_LIBSHELL32}
124
125 /* Define to 1 if you have the `z' library (-lz). */
126 #cmakedefine HAVE_LIBZ ${HAVE_LIBZ}
127
128 /* Define to 1 if you have the <link.h> header file. */
129 #cmakedefine HAVE_LINK_H ${HAVE_LINK_H}
130
131 /* Define to 1 if you have the `lseek64' function. */
132 #cmakedefine HAVE_LSEEK64 ${HAVE_LSEEK64}
133
134 /* Define to 1 if you have the <mach/mach.h> header file. */
135 #cmakedefine HAVE_MACH_MACH_H ${HAVE_MACH_MACH_H}
136
137 /* Define to 1 if you have the `mallctl' function. */
138 #cmakedefine HAVE_MALLCTL ${HAVE_MALLCTL}
139
140 /* Define to 1 if you have the `mallinfo' function. */
141 #cmakedefine HAVE_MALLINFO ${HAVE_MALLINFO}
142
143 /* Define to 1 if you have the <malloc.h> header file. */
144 #cmakedefine HAVE_MALLOC_H ${HAVE_MALLOC_H}
145
146 /* Define to 1 if you have the <malloc/malloc.h> header file. */
147 #cmakedefine HAVE_MALLOC_MALLOC_H ${HAVE_MALLOC_MALLOC_H}
148
149 /* Define to 1 if you have the `malloc_zone_statistics' function. */
150 #cmakedefine HAVE_MALLOC_ZONE_STATISTICS ${HAVE_MALLOC_ZONE_STATISTICS}
151
152 /* Define to 1 if you have the `mkdtemp' function. */
153 #cmakedefine HAVE_MKDTEMP ${HAVE_MKDTEMP}
154
155 /* Define to 1 if you have the `mkstemp' function. */
156 #cmakedefine HAVE_MKSTEMP ${HAVE_MKSTEMP}
157
158 /* Define to 1 if you have the `mktemp' function. */
159 #cmakedefine HAVE_MKTEMP ${HAVE_MKTEMP}
160
161 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
162 #cmakedefine HAVE_NDIR_H ${HAVE_NDIR_H}
163
164 /* Define to 1 if you have the `posix_fallocate' function. */
165 #cmakedefine HAVE_POSIX_FALLOCATE ${HAVE_POSIX_FALLOCATE}
166
167 /* Define to 1 if you have the `posix_spawn' function. */
168 #cmakedefine HAVE_POSIX_SPAWN ${HAVE_POSIX_SPAWN}
169
170 /* Define to 1 if you have the `pread' function. */
171 #cmakedefine HAVE_PREAD ${HAVE_PREAD}
172
173 /* Have pthread_getspecific */
174 #cmakedefine HAVE_PTHREAD_GETSPECIFIC ${HAVE_PTHREAD_GETSPECIFIC}
175
176 /* Define to 1 if you have the <pthread.h> header file. */
177 #cmakedefine HAVE_PTHREAD_H ${HAVE_PTHREAD_H}
178
179 /* Have pthread_mutex_lock */
180 #cmakedefine HAVE_PTHREAD_MUTEX_LOCK ${HAVE_PTHREAD_MUTEX_LOCK}
181
182 /* Have pthread_rwlock_init */
183 #cmakedefine HAVE_PTHREAD_RWLOCK_INIT ${HAVE_PTHREAD_RWLOCK_INIT}
184
185 /* Define to 1 if you have the `realpath' function. */
186 #cmakedefine HAVE_REALPATH ${HAVE_REALPATH}
187
188 /* Define to 1 if you have the `sbrk' function. */
189 #cmakedefine HAVE_SBRK ${HAVE_SBRK}
190
191 /* Define to 1 if you have the `setenv' function. */
192 #cmakedefine HAVE_SETENV ${HAVE_SETENV}
193
194 /* Define to 1 if you have the `sched_getaffinity' function. */
195 #cmakedefine HAVE_SCHED_GETAFFINITY ${HAVE_SCHED_GETAFFINITY}
196
197 /* Define to 1 if you have the `CPU_COUNT' macro. */
198 #cmakedefine HAVE_CPU_COUNT ${HAVE_CPU_COUNT}
199
200 /* Define to 1 if you have the `setrlimit' function. */
201 #cmakedefine HAVE_SETRLIMIT ${HAVE_SETRLIMIT}
202
203 /* Define to 1 if you have the `sigaltstack' function. */
204 #cmakedefine HAVE_SIGALTSTACK ${HAVE_SIGALTSTACK}
205
206 /* Define to 1 if you have the <signal.h> header file. */
207 #cmakedefine HAVE_SIGNAL_H ${HAVE_SIGNAL_H}
208
209 /* Define to 1 if you have the <stdint.h> header file. */
210 #cmakedefine HAVE_STDINT_H ${HAVE_STDINT_H}
211
212 /* Define to 1 if you have the `strerror' function. */
213 #cmakedefine HAVE_STRERROR ${HAVE_STRERROR}
214
215 /* Define to 1 if you have the `strerror_r' function. */
216 #cmakedefine HAVE_STRERROR_R ${HAVE_STRERROR_R}
217
218 /* Define to 1 if you have the `strtoll' function. */
219 #cmakedefine HAVE_STRTOLL ${HAVE_STRTOLL}
220
221 /* Define to 1 if you have the `sysconf' function. */
222 #cmakedefine HAVE_SYSCONF ${HAVE_SYSCONF}
223
224 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
225    */
226 #cmakedefine HAVE_SYS_DIR_H ${HAVE_SYS_DIR_H}
227
228 /* Define to 1 if you have the <sys/ioctl.h> header file. */
229 #cmakedefine HAVE_SYS_IOCTL_H ${HAVE_SYS_IOCTL_H}
230
231 /* Define to 1 if you have the <sys/mman.h> header file. */
232 #cmakedefine HAVE_SYS_MMAN_H ${HAVE_SYS_MMAN_H}
233
234 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
235    */
236 #cmakedefine HAVE_SYS_NDIR_H ${HAVE_SYS_NDIR_H}
237
238 /* Define to 1 if you have the <sys/param.h> header file. */
239 #cmakedefine HAVE_SYS_PARAM_H ${HAVE_SYS_PARAM_H}
240
241 /* Define to 1 if you have the <sys/resource.h> header file. */
242 #cmakedefine HAVE_SYS_RESOURCE_H ${HAVE_SYS_RESOURCE_H}
243
244 /* Define to 1 if you have the <sys/stat.h> header file. */
245 #cmakedefine HAVE_SYS_STAT_H ${HAVE_SYS_STAT_H}
246
247 /* Define to 1 if you have the <sys/time.h> header file. */
248 #cmakedefine HAVE_SYS_TIME_H ${HAVE_SYS_TIME_H}
249
250 /* Define to 1 if you have the <sys/types.h> header file. */
251 #cmakedefine HAVE_SYS_TYPES_H ${HAVE_SYS_TYPES_H}
252
253 /* Define to 1 if you have the <sys/uio.h> header file. */
254 #cmakedefine HAVE_SYS_UIO_H ${HAVE_SYS_UIO_H}
255
256 /* Define if the setupterm() function is supported this platform. */
257 #cmakedefine HAVE_TERMINFO ${HAVE_TERMINFO}
258
259 /* Define if the xar_open() function is supported this platform. */
260 #cmakedefine HAVE_LIBXAR ${HAVE_LIBXAR}
261
262 /* Define to 1 if you have the <termios.h> header file. */
263 #cmakedefine HAVE_TERMIOS_H ${HAVE_TERMIOS_H}
264
265 /* Define to 1 if the system has the type `uint64_t'. */
266 #cmakedefine HAVE_UINT64_T ${HAVE_UINT64_T}
267
268 /* Define to 1 if you have the <unistd.h> header file. */
269 #cmakedefine HAVE_UNISTD_H ${HAVE_UNISTD_H}
270
271 /* Define to 1 if the system has the type `u_int64_t'. */
272 #cmakedefine HAVE_U_INT64_T ${HAVE_U_INT64_T}
273
274 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
275 #cmakedefine HAVE_VALGRIND_VALGRIND_H ${HAVE_VALGRIND_VALGRIND_H}
276
277 /* Define to 1 if you have the `writev' function. */
278 #cmakedefine HAVE_WRITEV ${HAVE_WRITEV}
279
280 /* Define to 1 if you have the <zlib.h> header file. */
281 #cmakedefine HAVE_ZLIB_H ${HAVE_ZLIB_H}
282
283 /* Have host's _alloca */
284 #cmakedefine HAVE__ALLOCA ${HAVE__ALLOCA}
285
286 /* Define to 1 if you have the `_chsize_s' function. */
287 #cmakedefine HAVE__CHSIZE_S ${HAVE__CHSIZE_S}
288
289 /* Define to 1 if you have the `_Unwind_Backtrace' function. */
290 #cmakedefine HAVE__UNWIND_BACKTRACE ${HAVE__UNWIND_BACKTRACE}
291
292 /* Have host's __alloca */
293 #cmakedefine HAVE___ALLOCA ${HAVE___ALLOCA}
294
295 /* Have host's __ashldi3 */
296 #cmakedefine HAVE___ASHLDI3 ${HAVE___ASHLDI3}
297
298 /* Have host's __ashrdi3 */
299 #cmakedefine HAVE___ASHRDI3 ${HAVE___ASHRDI3}
300
301 /* Have host's __chkstk */
302 #cmakedefine HAVE___CHKSTK ${HAVE___CHKSTK}
303
304 /* Have host's __chkstk_ms */
305 #cmakedefine HAVE___CHKSTK_MS ${HAVE___CHKSTK_MS}
306
307 /* Have host's __cmpdi2 */
308 #cmakedefine HAVE___CMPDI2 ${HAVE___CMPDI2}
309
310 /* Have host's __divdi3 */
311 #cmakedefine HAVE___DIVDI3 ${HAVE___DIVDI3}
312
313 /* Have host's __fixdfdi */
314 #cmakedefine HAVE___FIXDFDI ${HAVE___FIXDFDI}
315
316 /* Have host's __fixsfdi */
317 #cmakedefine HAVE___FIXSFDI ${HAVE___FIXSFDI}
318
319 /* Have host's __floatdidf */
320 #cmakedefine HAVE___FLOATDIDF ${HAVE___FLOATDIDF}
321
322 /* Have host's __lshrdi3 */
323 #cmakedefine HAVE___LSHRDI3 ${HAVE___LSHRDI3}
324
325 /* Have host's __main */
326 #cmakedefine HAVE___MAIN ${HAVE___MAIN}
327
328 /* Have host's __moddi3 */
329 #cmakedefine HAVE___MODDI3 ${HAVE___MODDI3}
330
331 /* Have host's __udivdi3 */
332 #cmakedefine HAVE___UDIVDI3 ${HAVE___UDIVDI3}
333
334 /* Have host's __umoddi3 */
335 #cmakedefine HAVE___UMODDI3 ${HAVE___UMODDI3}
336
337 /* Have host's ___chkstk */
338 #cmakedefine HAVE____CHKSTK ${HAVE____CHKSTK}
339
340 /* Have host's ___chkstk_ms */
341 #cmakedefine HAVE____CHKSTK_MS ${HAVE____CHKSTK_MS}
342
343 /* Linker version detected at compile time. */
344 #cmakedefine HOST_LINK_VERSION "${HOST_LINK_VERSION}"
345
346 /* Define if we link Polly to the tools */
347 #cmakedefine LINK_POLLY_INTO_TOOLS
348
349 /* Target triple LLVM will generate code for by default */
350 /* Doesn't use `cmakedefine` because it is allowed to be empty. */
351 #define LLVM_DEFAULT_TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE}"
352
353 /* Define if threads enabled */
354 #cmakedefine01 LLVM_ENABLE_THREADS
355
356 /* Define if zlib compression is available */
357 #cmakedefine01 LLVM_ENABLE_ZLIB
358
359 /* Has gcc/MSVC atomic intrinsics */
360 #cmakedefine01 LLVM_HAS_ATOMICS
361
362 /* Host triple LLVM will be executed on */
363 #cmakedefine LLVM_HOST_TRIPLE "${LLVM_HOST_TRIPLE}"
364
365 /* Define if this is Unixish platform */
366 #cmakedefine LLVM_ON_UNIX ${LLVM_ON_UNIX}
367
368 /* Define if this is Win32ish platform */
369 #cmakedefine LLVM_ON_WIN32 ${LLVM_ON_WIN32}
370
371 /* Define if overriding target triple is enabled */
372 #cmakedefine LLVM_TARGET_TRIPLE_ENV "${LLVM_TARGET_TRIPLE_ENV}"
373
374 /* Define if we have the Intel JIT API runtime support library */
375 #cmakedefine01 LLVM_USE_INTEL_JITEVENTS
376
377 /* Define if we have the oprofile JIT-support library */
378 #cmakedefine01 LLVM_USE_OPROFILE
379
380 /* LLVM version information */
381 #cmakedefine LLVM_VERSION_INFO "${LLVM_VERSION_INFO}"
382
383 /* Whether tools show host and target info when invoked with --version */
384 #cmakedefine01 LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO
385
386 /* Major version of the LLVM API */
387 #define LLVM_VERSION_MAJOR ${LLVM_VERSION_MAJOR}
388
389 /* Minor version of the LLVM API */
390 #define LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR}
391
392 /* Patch version of the LLVM API */
393 #define LLVM_VERSION_PATCH ${LLVM_VERSION_PATCH}
394
395 /* LLVM version string */
396 #define LLVM_VERSION_STRING "${PACKAGE_VERSION}"
397
398 /* Define if libxml2 is supported on this platform. */
399 #cmakedefine LLVM_LIBXML2_ENABLED ${LLVM_LIBXML2_ENABLED}
400
401 /* Define to the extension used for shared libraries, say, ".so". */
402 #cmakedefine LTDL_SHLIB_EXT "${LTDL_SHLIB_EXT}"
403
404 /* Define to the address where bug reports for this package should be sent. */
405 #cmakedefine PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
406
407 /* Define to the full name of this package. */
408 #cmakedefine PACKAGE_NAME "${PACKAGE_NAME}"
409
410 /* Define to the full name and version of this package. */
411 #cmakedefine PACKAGE_STRING "${PACKAGE_STRING}"
412
413 /* Define to the one symbol short name of this package. */
414 #undef PACKAGE_TARNAME
415
416 /* Define to the version of this package. */
417 #cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"
418
419 /* Define to the vendor of this package. */
420 #cmakedefine PACKAGE_VENDOR "${PACKAGE_VENDOR}"
421
422 /* Define as the return type of signal handlers (`int' or `void'). */
423 #cmakedefine RETSIGTYPE ${RETSIGTYPE}
424
425 /* Define to a function replacing strtoll */
426 #cmakedefine strtoll ${strtoll}
427
428 /* Define to a function implementing strtoull */
429 #cmakedefine strtoull ${strtoull}
430
431 /* Define to a function implementing stricmp */
432 #cmakedefine stricmp ${stricmp}
433
434 /* Define to a function implementing strdup */
435 #cmakedefine strdup ${strdup}
436
437 /* Whether GlobalISel rule coverage is being collected */
438 #cmakedefine01 LLVM_GISEL_COV_ENABLED
439
440 /* Define to the default GlobalISel coverage file prefix */
441 #cmakedefine LLVM_GISEL_COV_PREFIX "${LLVM_GISEL_COV_PREFIX}"
442
443 #endif