OSDN Git Service

Retire NEED_DEV_ZERO_FOR_MMAP. It should be needed only on outdated
[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 if position independent code is enabled */
17 #cmakedefine ENABLE_PIC
18
19 /* Define to 1 if you have the `backtrace' function. */
20 #cmakedefine HAVE_BACKTRACE ${HAVE_BACKTRACE}
21
22 /* Define to 1 if you have the <CrashReporterClient.h> header file. */
23 #undef HAVE_CRASHREPORTERCLIENT_H
24
25 /* can use __crashreporter_info__ */
26 #undef HAVE_CRASHREPORTER_INFO
27
28 /* Define to 1 if you have the declaration of `arc4random', and to 0 if you
29    don't. */
30 #cmakedefine01 HAVE_DECL_ARC4RANDOM
31
32 /* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you
33    don't. */
34 #cmakedefine01 HAVE_DECL_FE_ALL_EXCEPT
35
36 /* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you
37    don't. */
38 #cmakedefine01 HAVE_DECL_FE_INEXACT
39
40 /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you
41    don't. */
42 #cmakedefine01 HAVE_DECL_STRERROR_S
43
44 /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
45 #cmakedefine01 HAVE_DIA_SDK
46
47 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
48    */
49 #cmakedefine HAVE_DIRENT_H ${HAVE_DIRENT_H}
50
51 /* Define to 1 if you have the <dlfcn.h> header file. */
52 #cmakedefine HAVE_DLFCN_H ${HAVE_DLFCN_H}
53
54 /* Define if dlopen() is available on this platform. */
55 #cmakedefine HAVE_DLOPEN ${HAVE_DLOPEN}
56
57 /* Define to 1 if you have the <errno.h> header file. */
58 #cmakedefine HAVE_ERRNO_H ${HAVE_ERRNO_H}
59
60 /* Define to 1 if you have the <execinfo.h> header file. */
61 #cmakedefine HAVE_EXECINFO_H ${HAVE_EXECINFO_H}
62
63 /* Define to 1 if you have the <fcntl.h> header file. */
64 #cmakedefine HAVE_FCNTL_H ${HAVE_FCNTL_H}
65
66 /* Define to 1 if you have the <fenv.h> header file. */
67 #cmakedefine HAVE_FENV_H ${HAVE_FENV_H}
68
69 /* Define if libffi is available on this platform. */
70 #cmakedefine HAVE_FFI_CALL ${HAVE_FFI_CALL}
71
72 /* Define to 1 if you have the <ffi/ffi.h> header file. */
73 #cmakedefine HAVE_FFI_FFI_H ${HAVE_FFI_FFI_H}
74
75 /* Define to 1 if you have the <ffi.h> header file. */
76 #cmakedefine HAVE_FFI_H ${HAVE_FFI_H}
77
78 /* Define to 1 if you have the `futimens' function. */
79 #cmakedefine HAVE_FUTIMENS ${HAVE_FUTIMENS}
80
81 /* Define to 1 if you have the `futimes' function. */
82 #cmakedefine HAVE_FUTIMES ${HAVE_FUTIMES}
83
84 /* Define to 1 if you have the `getcwd' function. */
85 #cmakedefine HAVE_GETCWD ${HAVE_GETCWD}
86
87 /* Define to 1 if you have the `getpagesize' function. */
88 #cmakedefine HAVE_GETPAGESIZE ${HAVE_GETPAGESIZE}
89
90 /* Define to 1 if you have the `getrlimit' function. */
91 #cmakedefine HAVE_GETRLIMIT ${HAVE_GETRLIMIT}
92
93 /* Define to 1 if you have the `getrusage' function. */
94 #cmakedefine HAVE_GETRUSAGE ${HAVE_GETRUSAGE}
95
96 /* Define to 1 if you have the `gettimeofday' function. */
97 #cmakedefine HAVE_GETTIMEOFDAY ${HAVE_GETTIMEOFDAY}
98
99 /* Define to 1 if the system has the type `int64_t'. */
100 #cmakedefine HAVE_INT64_T ${HAVE_INT64_T}
101
102 /* Define to 1 if you have the <inttypes.h> header file. */
103 #cmakedefine HAVE_INTTYPES_H ${HAVE_INTTYPES_H}
104
105 /* Define to 1 if you have the `isatty' function. */
106 #cmakedefine HAVE_ISATTY 1
107
108 /* Define to 1 if you have the 'edit' library (-ledit). */
109 #cmakedefine HAVE_LIBEDIT ${HAVE_LIBEDIT}
110
111 /* Define to 1 if you have the `psapi' library (-lpsapi). */
112 #cmakedefine HAVE_LIBPSAPI ${HAVE_LIBPSAPI}
113
114 /* Define to 1 if you have the `pthread' library (-lpthread). */
115 #cmakedefine HAVE_LIBPTHREAD ${HAVE_LIBPTHREAD}
116
117 /* Define to 1 if you have the `shell32' library (-lshell32). */
118 #cmakedefine HAVE_LIBSHELL32 ${HAVE_LIBSHELL32}
119
120 /* Define to 1 if you have the `z' library (-lz). */
121 #cmakedefine HAVE_LIBZ ${HAVE_LIBZ}
122
123 /* Define to 1 if you have the <link.h> header file. */
124 #cmakedefine HAVE_LINK_H ${HAVE_LINK_H}
125
126 /* Define if you can use -rdynamic. */
127 #define HAVE_LINK_EXPORT_DYNAMIC 1
128
129 /* Define if you can use -Wl,-R. to pass -R. to the linker, in order to add
130    the current directory to the dynamic linker search path. */
131 #undef HAVE_LINK_R
132
133 /* Define to 1 if you have the <mach/mach.h> header file. */
134 #cmakedefine HAVE_MACH_MACH_H ${HAVE_MACH_MACH_H}
135
136 /* Define to 1 if you have the `mallctl' function. */
137 #cmakedefine HAVE_MALLCTL ${HAVE_MALLCTL}
138
139 /* Define to 1 if you have the `mallinfo' function. */
140 #cmakedefine HAVE_MALLINFO ${HAVE_MALLINFO}
141
142 /* Define to 1 if you have the <malloc.h> header file. */
143 #cmakedefine HAVE_MALLOC_H ${HAVE_MALLOC_H}
144
145 /* Define to 1 if you have the <malloc/malloc.h> header file. */
146 #cmakedefine HAVE_MALLOC_MALLOC_H ${HAVE_MALLOC_MALLOC_H}
147
148 /* Define to 1 if you have the `malloc_zone_statistics' function. */
149 #cmakedefine HAVE_MALLOC_ZONE_STATISTICS ${HAVE_MALLOC_ZONE_STATISTICS}
150
151 /* Define to 1 if you have the `mkdtemp' function. */
152 #cmakedefine HAVE_MKDTEMP ${HAVE_MKDTEMP}
153
154 /* Define to 1 if you have the `mkstemp' function. */
155 #cmakedefine HAVE_MKSTEMP ${HAVE_MKSTEMP}
156
157 /* Define to 1 if you have the `mktemp' function. */
158 #cmakedefine HAVE_MKTEMP ${HAVE_MKTEMP}
159
160 /* Define to 1 if you have a working `mmap' system call. */
161 #undef HAVE_MMAP
162
163 /* Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if
164    it uses MAP_ANON */
165 #undef HAVE_MMAP_ANONYMOUS
166
167 /* Define if mmap() can map files into memory */
168 #undef HAVE_MMAP_FILE
169
170 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
171 #cmakedefine HAVE_NDIR_H ${HAVE_NDIR_H}
172
173 /* Define to 1 if you have the `posix_fallocate' function. */
174 #cmakedefine HAVE_POSIX_FALLOCATE ${HAVE_POSIX_FALLOCATE}
175
176 /* Define to 1 if you have the `posix_spawn' function. */
177 #cmakedefine HAVE_POSIX_SPAWN ${HAVE_POSIX_SPAWN}
178
179 /* Define to 1 if you have the `pread' function. */
180 #cmakedefine HAVE_PREAD ${HAVE_PREAD}
181
182 /* Have pthread_getspecific */
183 #cmakedefine HAVE_PTHREAD_GETSPECIFIC ${HAVE_PTHREAD_GETSPECIFIC}
184
185 /* Define to 1 if you have the <pthread.h> header file. */
186 #cmakedefine HAVE_PTHREAD_H ${HAVE_PTHREAD_H}
187
188 /* Have pthread_mutex_lock */
189 #cmakedefine HAVE_PTHREAD_MUTEX_LOCK ${HAVE_PTHREAD_MUTEX_LOCK}
190
191 /* Have pthread_rwlock_init */
192 #cmakedefine HAVE_PTHREAD_RWLOCK_INIT ${HAVE_PTHREAD_RWLOCK_INIT}
193
194 /* Define to 1 if you have the `realpath' function. */
195 #cmakedefine HAVE_REALPATH ${HAVE_REALPATH}
196
197 /* Define to 1 if you have the `sbrk' function. */
198 #cmakedefine HAVE_SBRK ${HAVE_SBRK}
199
200 /* Define to 1 if you have the `setenv' function. */
201 #cmakedefine HAVE_SETENV ${HAVE_SETENV}
202
203 /* Define to 1 if you have the `setrlimit' function. */
204 #cmakedefine HAVE_SETRLIMIT ${HAVE_SETRLIMIT}
205
206 /* Define to 1 if you have the `sigaltstack' function. */
207 #cmakedefine HAVE_SIGALTSTACK ${HAVE_SIGALTSTACK}
208
209 /* Define to 1 if you have the <signal.h> header file. */
210 #cmakedefine HAVE_SIGNAL_H ${HAVE_SIGNAL_H}
211
212 /* Define to 1 if you have the <stdint.h> header file. */
213 #cmakedefine HAVE_STDINT_H ${HAVE_STDINT_H}
214
215 /* Define to 1 if you have the `strerror' function. */
216 #cmakedefine HAVE_STRERROR ${HAVE_STRERROR}
217
218 /* Define to 1 if you have the `strerror_r' function. */
219 #cmakedefine HAVE_STRERROR_R ${HAVE_STRERROR_R}
220
221 /* Define to 1 if you have the `strtoll' function. */
222 #cmakedefine HAVE_STRTOLL ${HAVE_STRTOLL}
223
224 /* Define to 1 if you have the `strtoq' function. */
225 #cmakedefine HAVE_STRTOQ ${HAVE_STRTOQ}
226
227 /* Define to 1 if you have the `sysconf' function. */
228 #cmakedefine HAVE_SYSCONF ${HAVE_SYSCONF}
229
230 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
231    */
232 #cmakedefine HAVE_SYS_DIR_H ${HAVE_SYS_DIR_H}
233
234 /* Define to 1 if you have the <sys/ioctl.h> header file. */
235 #cmakedefine HAVE_SYS_IOCTL_H ${HAVE_SYS_IOCTL_H}
236
237 /* Define to 1 if you have the <sys/mman.h> header file. */
238 #cmakedefine HAVE_SYS_MMAN_H ${}
239
240 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
241    */
242 #cmakedefine HAVE_SYS_NDIR_H ${HAVE_SYS_NDIR_H}
243
244 /* Define to 1 if you have the <sys/param.h> header file. */
245 #cmakedefine HAVE_SYS_PARAM_H ${HAVE_SYS_PARAM_H}
246
247 /* Define to 1 if you have the <sys/resource.h> header file. */
248 #cmakedefine HAVE_SYS_RESOURCE_H ${HAVE_SYS_RESOURCE_H}
249
250 /* Define to 1 if you have the <sys/stat.h> header file. */
251 #cmakedefine HAVE_SYS_STAT_H ${HAVE_SYS_STAT_H}
252
253 /* Define to 1 if you have the <sys/time.h> header file. */
254 #cmakedefine HAVE_SYS_TIME_H ${HAVE_SYS_TIME_H}
255
256 /* Define to 1 if you have the <sys/types.h> header file. */
257 #cmakedefine HAVE_SYS_TYPES_H ${HAVE_SYS_TYPES_H}
258
259 /* Define to 1 if you have the <sys/uio.h> header file. */
260 #cmakedefine HAVE_SYS_UIO_H ${HAVE_SYS_UIO_H}
261
262 /* Define if the setupterm() function is supported this platform. */
263 #cmakedefine HAVE_TERMINFO ${HAVE_TERMINFO}
264
265 /* Define if the xar_open() function is supported this platform. */
266 #cmakedefine HAVE_LIBXAR ${HAVE_LIBXAR}
267
268 /* Define to 1 if you have the <termios.h> header file. */
269 #cmakedefine HAVE_TERMIOS_H ${HAVE_TERMIOS_H}
270
271 /* Define to 1 if the system has the type `uint64_t'. */
272 #cmakedefine HAVE_UINT64_T ${HAVE_UINT64_T}
273
274 /* Define to 1 if you have the <unistd.h> header file. */
275 #cmakedefine HAVE_UNISTD_H ${HAVE_UNISTD_H}
276
277 /* Define to 1 if the system has the type `u_int64_t'. */
278 #cmakedefine HAVE_U_INT64_T ${HAVE_U_INT64_T}
279
280 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
281 #cmakedefine HAVE_VALGRIND_VALGRIND_H ${HAVE_VALGRIND_VALGRIND_H}
282
283 /* Define to 1 if you have the `writev' function. */
284 #cmakedefine HAVE_WRITEV ${HAVE_WRITEV}
285
286 /* Define to 1 if you have the <zlib.h> header file. */
287 #cmakedefine HAVE_ZLIB_H ${HAVE_ZLIB_H}
288
289 /* Have host's _alloca */
290 #cmakedefine HAVE__ALLOCA ${HAVE__ALLOCA}
291
292 /* Define to 1 if you have the `_chsize_s' function. */
293 #cmakedefine HAVE__CHSIZE_S ${HAVE__CHSIZE_S}
294
295 /* Define to 1 if you have the `_Unwind_Backtrace' function. */
296 #cmakedefine HAVE__UNWIND_BACKTRACE ${HAVE__UNWIND_BACKTRACE}
297
298 /* Have host's __alloca */
299 #cmakedefine HAVE___ALLOCA ${HAVE___ALLOCA}
300
301 /* Have host's __ashldi3 */
302 #cmakedefine HAVE___ASHLDI3 ${HAVE___ASHLDI3}
303
304 /* Have host's __ashrdi3 */
305 #cmakedefine HAVE___ASHRDI3 ${HAVE___ASHRDI3}
306
307 /* Have host's __chkstk */
308 #cmakedefine HAVE___CHKSTK ${HAVE___CHKSTK}
309
310 /* Have host's __chkstk_ms */
311 #cmakedefine HAVE___CHKSTK_MS ${HAVE___CHKSTK_MS}
312
313 /* Have host's __cmpdi2 */
314 #cmakedefine HAVE___CMPDI2 ${HAVE___CMPDI2}
315
316 /* Have host's __divdi3 */
317 #cmakedefine HAVE___DIVDI3 ${HAVE___DIVDI3}
318
319 /* Define to 1 if you have the `__dso_handle' function. */
320 #undef HAVE___DSO_HANDLE
321
322 /* Have host's __fixdfdi */
323 #cmakedefine HAVE___FIXDFDI ${HAVE___FIXDFDI}
324
325 /* Have host's __fixsfdi */
326 #cmakedefine HAVE___FIXSFDI ${HAVE___FIXSFDI}
327
328 /* Have host's __floatdidf */
329 #cmakedefine HAVE___FLOATDIDF ${HAVE___FLOATDIDF}
330
331 /* Have host's __lshrdi3 */
332 #cmakedefine HAVE___LSHRDI3 ${HAVE___LSHRDI3}
333
334 /* Have host's __main */
335 #cmakedefine HAVE___MAIN ${HAVE___MAIN}
336
337 /* Have host's __moddi3 */
338 #cmakedefine HAVE___MODDI3 ${HAVE___MODDI3}
339
340 /* Have host's __udivdi3 */
341 #cmakedefine HAVE___UDIVDI3 ${HAVE___UDIVDI3}
342
343 /* Have host's __umoddi3 */
344 #cmakedefine HAVE___UMODDI3 ${HAVE___UMODDI3}
345
346 /* Have host's ___chkstk */
347 #cmakedefine HAVE____CHKSTK ${HAVE____CHKSTK}
348
349 /* Have host's ___chkstk_ms */
350 #cmakedefine HAVE____CHKSTK_MS ${HAVE____CHKSTK_MS}
351
352 /* Linker version detected at compile time. */
353 #undef HOST_LINK_VERSION
354
355 /* Installation directory for binary executables */
356 #cmakedefine LLVM_BINDIR "${LLVM_BINDIR}"
357
358 /* Installation directory for data files */
359 #cmakedefine LLVM_DATADIR "${LLVM_DATADIR}"
360
361 /* Target triple LLVM will generate code for by default
362  * Doesn't use `cmakedefine` because it is allowed to be empty.
363  */
364 #define LLVM_DEFAULT_TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE}"
365
366 /* Installation directory for documentation */
367 #cmakedefine LLVM_DOCSDIR "${LLVM_DOCSDIR}"
368
369 /* Define to enable checks that alter the LLVM C++ ABI */
370 #cmakedefine01 LLVM_ENABLE_ABI_BREAKING_CHECKS
371
372 /* Define if threads enabled */
373 #cmakedefine01 LLVM_ENABLE_THREADS
374
375 /* Define if zlib compression is available */
376 #cmakedefine01 LLVM_ENABLE_ZLIB
377
378 /* Installation directory for config files */
379 #cmakedefine LLVM_ETCDIR "${LLVM_ETCDIR}"
380
381 /* Has gcc/MSVC atomic intrinsics */
382 #cmakedefine01 LLVM_HAS_ATOMICS
383
384 /* Host triple LLVM will be executed on */
385 #cmakedefine LLVM_HOST_TRIPLE "${LLVM_HOST_TRIPLE}"
386
387 /* Installation directory for include files */
388 #cmakedefine LLVM_INCLUDEDIR "${LLVM_INCLUDEDIR}"
389
390 /* Installation directory for .info files */
391 #cmakedefine LLVM_INFODIR "${LLVM_INFODIR}"
392
393 /* Installation directory for man pages */
394 #cmakedefine LLVM_MANDIR "${LLVM_MANDIR}"
395
396 /* LLVM architecture name for the native architecture, if available */
397 #cmakedefine LLVM_NATIVE_ARCH ${LLVM_NATIVE_ARCH}
398
399 /* LLVM name for the native AsmParser init function, if available */
400 #cmakedefine LLVM_NATIVE_ASMPARSER LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser
401
402 /* LLVM name for the native AsmPrinter init function, if available */
403 #cmakedefine LLVM_NATIVE_ASMPRINTER LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter
404
405 /* LLVM name for the native Disassembler init function, if available */
406 #cmakedefine LLVM_NATIVE_DISASSEMBLER LLVMInitialize${LLVM_NATIVE_ARCH}Disassembler
407
408 /* LLVM name for the native Target init function, if available */
409 #cmakedefine LLVM_NATIVE_TARGET LLVMInitialize${LLVM_NATIVE_ARCH}Target
410
411 /* LLVM name for the native TargetInfo init function, if available */
412 #cmakedefine LLVM_NATIVE_TARGETINFO LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo
413
414 /* LLVM name for the native target MC init function, if available */
415 #cmakedefine LLVM_NATIVE_TARGETMC LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC
416
417 /* Define if this is Unixish platform */
418 #cmakedefine LLVM_ON_UNIX ${LLVM_ON_UNIX}
419
420 /* Define if this is Win32ish platform */
421 #cmakedefine LLVM_ON_WIN32 ${LLVM_ON_WIN32}
422
423 /* Installation prefix directory */
424 #cmakedefine LLVM_PREFIX "${LLVM_PREFIX}"
425
426 /* Define if we have the Intel JIT API runtime support library */
427 #cmakedefine01 LLVM_USE_INTEL_JITEVENTS
428
429 /* Define if we have the oprofile JIT-support library */
430 #cmakedefine01 LLVM_USE_OPROFILE
431
432 /* Major version of the LLVM API */
433 #define LLVM_VERSION_MAJOR ${LLVM_VERSION_MAJOR}
434
435 /* Minor version of the LLVM API */
436 #define LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR}
437
438 /* Patch version of the LLVM API */
439 #define LLVM_VERSION_PATCH ${LLVM_VERSION_PATCH}
440
441 /* LLVM version string */
442 #define LLVM_VERSION_STRING "${PACKAGE_VERSION}"
443
444 /* LLVM version information */
445 #cmakedefine LLVM_VERSION_INFO "${LLVM_VERSION_INFO}"
446
447 /* Define if we link Polly to the tools */
448 #cmakedefine LINK_POLLY_INTO_TOOLS
449
450 /* Define to the extension used for shared libraries, say, ".so". */
451 #cmakedefine LTDL_SHLIB_EXT "${LTDL_SHLIB_EXT}"
452
453 /* Define to the address where bug reports for this package should be sent. */
454 #cmakedefine PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
455
456 /* Define to the full name of this package. */
457 #cmakedefine PACKAGE_NAME "${PACKAGE_NAME}"
458
459 /* Define to the full name and version of this package. */
460 #cmakedefine PACKAGE_STRING "${PACKAGE_STRING}"
461
462 /* Define to the one symbol short name of this package. */
463 #undef PACKAGE_TARNAME
464
465 /* Define to the version of this package. */
466 #cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"
467
468 /* Define to the vendor of this package. */
469 #cmakedefine PACKAGE_VENDOR "${PACKAGE_VENDOR}"
470
471 /* Define as the return type of signal handlers (`int' or `void'). */
472 #cmakedefine RETSIGTYPE ${RETSIGTYPE}
473
474 /* Define to 1 if you have the ANSI C header files. */
475 #undef STDC_HEADERS
476
477 /* Define to `int' if <sys/types.h> does not define. */
478 #undef pid_t
479
480 /* Define to `unsigned int' if <sys/types.h> does not define. */
481 #undef size_t
482
483 /* Define to a function replacing strtoll */
484 #cmakedefine strtoll ${strtoll}
485
486 /* Define to a function implementing strtoull */
487 #cmakedefine strtoull ${strtoull}
488
489 /* Define to a function implementing stricmp */
490 #cmakedefine stricmp ${stricmp}
491
492 /* Define to a function implementing strdup */
493 #cmakedefine strdup ${strdup}
494
495 #endif