xref: /freebsd/lib/clang/include/llvm/Config/config.h (revision a812392203d7c4c3f0db9d8a0f3391374c49c71f)
1 /* $FreeBSD$ */
2 /* include/llvm/Config/config.h.  Generated from config.h.in by configure.  */
3 /* include/llvm/Config/config.h.in.  Generated from autoconf/configure.ac by autoheader.  */
4 
5 #ifndef CONFIG_H
6 #define CONFIG_H
7 
8 /* Get __FreeBSD_version. */
9 #include <osreldate.h>
10 
11 /* Bug report URL. */
12 #define BUG_REPORT_URL "https://bugs.freebsd.org/submit/"
13 
14 /* Define if we have libxml2 */
15 /* #undef CLANG_HAVE_LIBXML */
16 
17 /* Relative directory for resource files */
18 #define CLANG_RESOURCE_DIR ""
19 
20 /* Directories clang will search for headers */
21 #define C_INCLUDE_DIRS ""
22 
23 /* Default <path> to all compiler invocations for --sysroot=<path>. */
24 /* #undef DEFAULT_SYSROOT */
25 
26 /* Define if you want backtraces on crash */
27 #define ENABLE_BACKTRACES 1
28 
29 /* Define to enable crash handling overrides */
30 #define ENABLE_CRASH_OVERRIDES 1
31 
32 /* Define if position independent code is enabled */
33 #define ENABLE_PIC 0
34 
35 /* Define if timestamp information (e.g., __DATE__) is allowed */
36 #define ENABLE_TIMESTAMPS 0
37 
38 /* Directory where gcc is installed. */
39 #define GCC_INSTALL_PREFIX ""
40 
41 /* Define to 1 if you have the `backtrace' function. */
42 /* #undef HAVE_BACKTRACE */
43 
44 /* Define to 1 if you have the `ceilf' function. */
45 #define HAVE_CEILF 1
46 
47 /* Define to 1 if you have the <CrashReporterClient.h> header file. */
48 /* #undef HAVE_CRASHREPORTERCLIENT_H */
49 
50 /* can use __crashreporter_info__ */
51 #define HAVE_CRASHREPORTER_INFO 0
52 
53 /* Define to 1 if you have the <cxxabi.h> header file. */
54 #define HAVE_CXXABI_H 1
55 
56 /* Define to 1 if you have the declaration of `arc4random', and to 0 if you
57    don't. */
58 #define HAVE_DECL_ARC4RANDOM 1
59 
60 /* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you
61    don't. */
62 #define HAVE_DECL_FE_ALL_EXCEPT 1
63 
64 /* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you
65    don't. */
66 #define HAVE_DECL_FE_INEXACT 1
67 
68 /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you
69    don't. */
70 #define HAVE_DECL_STRERROR_S 0
71 
72 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
73    */
74 #define HAVE_DIRENT_H 1
75 
76 /* Define to 1 if you have the <dlfcn.h> header file. */
77 #define HAVE_DLFCN_H 1
78 
79 /* Define if dlopen() is available on this platform. */
80 #define HAVE_DLOPEN 1
81 
82 /* Define if the dot program is available */
83 /* #undef HAVE_DOT */
84 
85 /* Define to 1 if you have the <errno.h> header file. */
86 #define HAVE_ERRNO_H 1
87 
88 /* Define to 1 if you have the <execinfo.h> header file. */
89 /* #undef HAVE_EXECINFO_H */
90 
91 /* Define to 1 if you have the `exp' function. */
92 #define HAVE_EXP 1
93 
94 /* Define to 1 if you have the `exp2' function. */
95 #define HAVE_EXP2 1
96 
97 /* Define to 1 if you have the <fcntl.h> header file. */
98 #define HAVE_FCNTL_H 1
99 
100 /* Define to 1 if you have the <fenv.h> header file. */
101 #define HAVE_FENV_H 1
102 
103 /* Define if libffi is available on this platform. */
104 /* #undef HAVE_FFI_CALL */
105 
106 /* Define to 1 if you have the <ffi/ffi.h> header file. */
107 /* #undef HAVE_FFI_FFI_H */
108 
109 /* Define to 1 if you have the <ffi.h> header file. */
110 /* #undef HAVE_FFI_H */
111 
112 /* Set to 1 if the finite function is found in <ieeefp.h> */
113 /* #undef HAVE_FINITE_IN_IEEEFP_H */
114 
115 /* Define to 1 if you have the `floorf' function. */
116 #define HAVE_FLOORF 1
117 
118 /* Define to 1 if you have the `fmodf' function. */
119 #define HAVE_FMODF 1
120 
121 /* Define to 1 if you have the `futimens' function. */
122 /* #undef HAVE_FUTIMENS */
123 
124 /* Define to 1 if you have the `futimes' function. */
125 #define HAVE_FUTIMES 1
126 
127 /* Define to 1 if you have the `getcwd' function. */
128 #define HAVE_GETCWD 1
129 
130 /* Define to 1 if you have the `getpagesize' function. */
131 #define HAVE_GETPAGESIZE 1
132 
133 /* Define to 1 if you have the `getrlimit' function. */
134 #define HAVE_GETRLIMIT 1
135 
136 /* Define to 1 if you have the `getrusage' function. */
137 #define HAVE_GETRUSAGE 1
138 
139 /* Define to 1 if you have the `gettimeofday' function. */
140 #define HAVE_GETTIMEOFDAY 1
141 
142 /* Define to 1 if the system has the type `int64_t'. */
143 #define HAVE_INT64_T 1
144 
145 /* Define to 1 if you have the <inttypes.h> header file. */
146 #define HAVE_INTTYPES_H 1
147 
148 /* Define to 1 if you have the `isatty' function. */
149 #define HAVE_ISATTY 1
150 
151 /* Set to 1 if the isinf function is found in <cmath> */
152 #define HAVE_ISINF_IN_CMATH 1
153 
154 /* Set to 1 if the isinf function is found in <math.h> */
155 #define HAVE_ISINF_IN_MATH_H 1
156 
157 /* Set to 1 if the isnan function is found in <cmath> */
158 #define HAVE_ISNAN_IN_CMATH 1
159 
160 /* Set to 1 if the isnan function is found in <math.h> */
161 #define HAVE_ISNAN_IN_MATH_H 1
162 
163 /* Define if libedit is available on this platform. */
164 #define HAVE_LIBEDIT 1
165 
166 /* Define to 1 if you have the `imagehlp' library (-limagehlp). */
167 /* #undef HAVE_LIBIMAGEHLP */
168 
169 /* Define to 1 if you have the `m' library (-lm). */
170 #define HAVE_LIBM 1
171 
172 /* Define to 1 if you have the `psapi' library (-lpsapi). */
173 /* #undef HAVE_LIBPSAPI */
174 
175 /* Define to 1 if you have the `pthread' library (-lpthread). */
176 /* #undef HAVE_LIBPTHREAD */
177 
178 /* Define to 1 if you have the `shell32' library (-lshell32). */
179 /* #undef HAVE_LIBSHELL32 */
180 
181 /* Define to 1 if you have the `z' library (-lz). */
182 #define HAVE_LIBZ 1
183 
184 /* Define if you can use -rdynamic. */
185 #define HAVE_LINK_EXPORT_DYNAMIC 1
186 
187 /* Define to 1 if you have the <link.h> header file. */
188 #define HAVE_LINK_H 1
189 
190 /* Define if you can use -Wl,-R. to pass -R. to the linker, in order to add
191    the current directory to the dynamic linker search path. */
192 #define HAVE_LINK_R 1
193 
194 /* Define to 1 if you have the `log' function. */
195 #define HAVE_LOG 1
196 
197 /* Define to 1 if you have the `log10' function. */
198 #define HAVE_LOG10 1
199 
200 /* Define to 1 if you have the `log2' function. */
201 #if __FreeBSD_version >= 900027 || (__FreeBSD_version < 900000 && __FreeBSD_version >= 802502)
202 #define HAVE_LOG2 1
203 #endif
204 
205 /* Define to 1 if you have the `longjmp' function. */
206 #define HAVE_LONGJMP 1
207 
208 /* Define to 1 if you have the <mach/mach.h> header file. */
209 /* #undef HAVE_MACH_MACH_H */
210 
211 /* Define if mallinfo() is available on this platform. */
212 /* #undef HAVE_MALLINFO */
213 
214 /* Define to 1 if you have the <malloc.h> header file. */
215 /* #undef HAVE_MALLOC_H */
216 
217 /* Define to 1 if you have the <malloc/malloc.h> header file. */
218 /* #undef HAVE_MALLOC_MALLOC_H */
219 
220 /* Define to 1 if you have the `malloc_zone_statistics' function. */
221 /* #undef HAVE_MALLOC_ZONE_STATISTICS */
222 
223 /* Define to 1 if you have the <memory.h> header file. */
224 #define HAVE_MEMORY_H 1
225 
226 /* Define to 1 if you have the `mkdtemp' function. */
227 #define HAVE_MKDTEMP 1
228 
229 /* Define to 1 if you have the `mkstemp' function. */
230 #define HAVE_MKSTEMP 1
231 
232 /* Define to 1 if you have the `mktemp' function. */
233 #define HAVE_MKTEMP 1
234 
235 /* Define to 1 if you have a working `mmap' system call. */
236 #define HAVE_MMAP 1
237 
238 /* Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if
239    it uses MAP_ANON */
240 /* #undef HAVE_MMAP_ANONYMOUS */
241 
242 /* Define if mmap() can map files into memory */
243 #define HAVE_MMAP_FILE
244 
245 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
246 /* #undef HAVE_NDIR_H */
247 
248 /* Define to 1 if you have the `nearbyintf' function. */
249 #define HAVE_NEARBYINTF 1
250 
251 /* Define to 1 if you have the `posix_spawn' function. */
252 /* #undef HAVE_POSIX_SPAWN */
253 
254 /* Define to 1 if you have the `powf' function. */
255 #define HAVE_POWF 1
256 
257 /* Define to 1 if you have the `pread' function. */
258 #define HAVE_PREAD 1
259 
260 /* Define to have the %a format string */
261 #define HAVE_PRINTF_A 1
262 
263 /* Have pthread_getspecific */
264 /* #undef HAVE_PTHREAD_GETSPECIFIC */
265 
266 /* Define to 1 if you have the <pthread.h> header file. */
267 /* #undef HAVE_PTHREAD_H */
268 
269 /* Have pthread_mutex_lock */
270 /* #undef HAVE_PTHREAD_MUTEX_LOCK */
271 
272 /* Have pthread_rwlock_init */
273 /* #undef HAVE_PTHREAD_RWLOCK_INIT */
274 
275 /* Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h> */
276 #define HAVE_RAND48 1
277 
278 /* Define to 1 if you have the `realpath' function. */
279 #define HAVE_REALPATH 1
280 
281 /* Define to 1 if you have the `rintf' function. */
282 #define HAVE_RINTF 1
283 
284 /* Define to 1 if you have the `round' function. */
285 #define HAVE_ROUND 1
286 
287 /* Define to 1 if you have the `roundf' function. */
288 #define HAVE_ROUNDF 1
289 
290 /* Define to 1 if you have the `sbrk' function. */
291 #define HAVE_SBRK 1
292 
293 /* Define to 1 if you have the `setenv' function. */
294 #define HAVE_SETENV 1
295 
296 /* Define to 1 if you have the `setjmp' function. */
297 #define HAVE_SETJMP 1
298 
299 /* Define to 1 if you have the <setjmp.h> header file. */
300 #define HAVE_SETJMP_H 1
301 
302 /* Define to 1 if you have the `setrlimit' function. */
303 #define HAVE_SETRLIMIT 1
304 
305 /* Define to 1 if you have the `siglongjmp' function. */
306 #define HAVE_SIGLONGJMP 1
307 
308 /* Define to 1 if you have the <signal.h> header file. */
309 #define HAVE_SIGNAL_H 1
310 
311 /* Define to 1 if you have the `sigsetjmp' function. */
312 #define HAVE_SIGSETJMP 1
313 
314 /* Define to 1 if you have the <stdint.h> header file. */
315 #define HAVE_STDINT_H 1
316 
317 /* Define to 1 if you have the <stdlib.h> header file. */
318 #define HAVE_STDLIB_H 1
319 
320 /* Set to 1 if the std::isinf function is found in <cmath> */
321 #define HAVE_STD_ISINF_IN_CMATH 1
322 
323 /* Set to 1 if the std::isnan function is found in <cmath> */
324 #define HAVE_STD_ISNAN_IN_CMATH 1
325 
326 /* Define to 1 if you have the `strerror' function. */
327 #define HAVE_STRERROR 1
328 
329 /* Define to 1 if you have the `strerror_r' function. */
330 #define HAVE_STRERROR_R 1
331 
332 /* Define to 1 if you have the <strings.h> header file. */
333 #define HAVE_STRINGS_H 1
334 
335 /* Define to 1 if you have the <string.h> header file. */
336 #define HAVE_STRING_H 1
337 
338 /* Define to 1 if you have the `strtof' function. */
339 #define HAVE_STRTOF 1
340 
341 /* Define to 1 if you have the `strtoll' function. */
342 #define HAVE_STRTOLL 1
343 
344 /* Define to 1 if you have the `strtoq' function. */
345 #define HAVE_STRTOQ 1
346 
347 /* Define to 1 if you have the `sysconf' function. */
348 #define HAVE_SYSCONF 1
349 
350 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
351    */
352 /* #undef HAVE_SYS_DIR_H */
353 
354 /* Define to 1 if you have the <sys/ioctl.h> header file. */
355 #define HAVE_SYS_IOCTL_H 1
356 
357 /* Define to 1 if you have the <sys/mman.h> header file. */
358 #define HAVE_SYS_MMAN_H 1
359 
360 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
361    */
362 /* #undef HAVE_SYS_NDIR_H */
363 
364 /* Define to 1 if you have the <sys/param.h> header file. */
365 #define HAVE_SYS_PARAM_H 1
366 
367 /* Define to 1 if you have the <sys/resource.h> header file. */
368 #define HAVE_SYS_RESOURCE_H 1
369 
370 /* Define to 1 if you have the <sys/stat.h> header file. */
371 #define HAVE_SYS_STAT_H 1
372 
373 /* Define to 1 if you have the <sys/time.h> header file. */
374 #define HAVE_SYS_TIME_H 1
375 
376 /* Define to 1 if you have the <sys/types.h> header file. */
377 #define HAVE_SYS_TYPES_H 1
378 
379 /* Define to 1 if you have the <sys/uio.h> header file. */
380 #define HAVE_SYS_UIO_H 1
381 
382 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
383 #define HAVE_SYS_WAIT_H 1
384 
385 /* Define if the setupterm() function is supported this platform. */
386 #define HAVE_TERMINFO 1
387 
388 /* Define to 1 if you have the <termios.h> header file. */
389 #define HAVE_TERMIOS_H 1
390 
391 /* Define to 1 if the system has the type `uint64_t'. */
392 #define HAVE_UINT64_T 1
393 
394 /* Define to 1 if you have the <unistd.h> header file. */
395 #define HAVE_UNISTD_H 1
396 
397 /* Define to 1 if you have the <utime.h> header file. */
398 #define HAVE_UTIME_H 1
399 
400 /* Define to 1 if the system has the type `u_int64_t'. */
401 /* #undef HAVE_U_INT64_T */
402 
403 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
404 /* #undef HAVE_VALGRIND_VALGRIND_H */
405 
406 /* Define to 1 if you have the `writev' function. */
407 #define HAVE_WRITEV 1
408 
409 /* Define to 1 if you have the <zlib.h> header file. */
410 #define HAVE_ZLIB_H 1
411 
412 /* Have host's _alloca */
413 /* #undef HAVE__ALLOCA */
414 
415 /* Have host's __alloca */
416 /* #undef HAVE___ALLOCA */
417 
418 /* Have host's __ashldi3 */
419 /* #undef HAVE___ASHLDI3 */
420 
421 /* Have host's __ashrdi3 */
422 /* #undef HAVE___ASHRDI3 */
423 
424 /* Have host's __chkstk */
425 /* #undef HAVE___CHKSTK */
426 
427 /* Have host's __cmpdi2 */
428 /* #undef HAVE___CMPDI2 */
429 
430 /* Have host's __divdi3 */
431 /* #undef HAVE___DIVDI3 */
432 
433 /* Define to 1 if you have the `__dso_handle' function. */
434 #define HAVE___DSO_HANDLE 1
435 
436 /* Have host's __fixdfdi */
437 /* #undef HAVE___FIXDFDI */
438 
439 /* Have host's __fixsfdi */
440 /* #undef HAVE___FIXSFDI */
441 
442 /* Have host's __floatdidf */
443 /* #undef HAVE___FLOATDIDF */
444 
445 /* Have host's __lshrdi3 */
446 /* #undef HAVE___LSHRDI3 */
447 
448 /* Have host's __main */
449 /* #undef HAVE___MAIN */
450 
451 /* Have host's __moddi3 */
452 /* #undef HAVE___MODDI3 */
453 
454 /* Have host's __udivdi3 */
455 /* #undef HAVE___UDIVDI3 */
456 
457 /* Have host's __umoddi3 */
458 /* #undef HAVE___UMODDI3 */
459 
460 /* Have host's ___chkstk */
461 /* #undef HAVE____CHKSTK */
462 
463 /* Linker version detected at compile time. */
464 /* #undef HOST_LINK_VERSION */
465 
466 /* Installation directory for binary executables */
467 /* #undef LLVM_BINDIR */
468 
469 /* Time at which LLVM was configured */
470 /* #undef LLVM_CONFIGTIME */
471 
472 /* Installation directory for data files */
473 /* #undef LLVM_DATADIR */
474 
475 /* Target triple LLVM will generate code for by default */
476 /* #undef LLVM_DEFAULT_TARGET_TRIPLE */
477 
478 /* Installation directory for documentation */
479 /* #undef LLVM_DOCSDIR */
480 
481 /* Define if threads enabled */
482 #define LLVM_ENABLE_THREADS 0
483 
484 /* Define if zlib is enabled */
485 #define LLVM_ENABLE_ZLIB 1
486 
487 /* Installation directory for config files */
488 /* #undef LLVM_ETCDIR */
489 
490 /* Has gcc/MSVC atomic intrinsics */
491 #define LLVM_HAS_ATOMICS 0
492 
493 /* Host triple LLVM will be executed on */
494 /* #undef LLVM_HOST_TRIPLE */
495 
496 /* Installation directory for include files */
497 /* #undef LLVM_INCLUDEDIR */
498 
499 /* Installation directory for .info files */
500 /* #undef LLVM_INFODIR */
501 
502 /* Installation directory for man pages */
503 /* #undef LLVM_MANDIR */
504 
505 /* LLVM architecture name for the native architecture, if available */
506 #define LLVM_NATIVE_ARCH X86
507 
508 /* LLVM name for the native AsmParser init function, if available */
509 #define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser
510 
511 /* LLVM name for the native AsmPrinter init function, if available */
512 #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
513 
514 /* LLVM name for the native Disassembler init function, if available */
515 #define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler
516 
517 /* LLVM name for the native Target init function, if available */
518 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target
519 
520 /* LLVM name for the native TargetInfo init function, if available */
521 #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
522 
523 /* LLVM name for the native target MC init function, if available */
524 #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
525 
526 /* Define if this is Unixish platform */
527 #define LLVM_ON_UNIX 1
528 
529 /* Define if this is Win32ish platform */
530 /* #undef LLVM_ON_WIN32 */
531 
532 /* Define to path to dot program if found or 'echo dot' otherwise */
533 /* #undef LLVM_PATH_DOT */
534 
535 /* Installation prefix directory */
536 #define LLVM_PREFIX "/usr"
537 
538 /* Define if we have the Intel JIT API runtime support library */
539 #define LLVM_USE_INTEL_JITEVENTS 0
540 
541 /* Define if we have the oprofile JIT-support library */
542 #define LLVM_USE_OPROFILE 0
543 
544 /* Major version of the LLVM API */
545 #define LLVM_VERSION_MAJOR 3
546 
547 /* Minor version of the LLVM API */
548 #define LLVM_VERSION_MINOR 5
549 
550 /* Patch version of the LLVM API */
551 #define LLVM_VERSION_PATCH 0
552 
553 /* The shared library extension */
554 #define LTDL_SHLIB_EXT ".so"
555 
556 /* Define if /dev/zero should be used when mapping RWX memory, or undefine if
557    its not necessary */
558 /* #undef NEED_DEV_ZERO_FOR_MMAP */
559 
560 /* Define to the address where bug reports for this package should be sent. */
561 #define PACKAGE_BUGREPORT "https://bugs.freebsd.org/submit/"
562 
563 /* Define to the full name of this package. */
564 #define PACKAGE_NAME "LLVM"
565 
566 /* Define to the full name and version of this package. */
567 #define PACKAGE_STRING "LLVM 3.5.0"
568 
569 /* Define to the one symbol short name of this package. */
570 #define PACKAGE_TARNAME "llvm"
571 
572 /* Define to the version of this package. */
573 #define PACKAGE_VERSION "3.5.0"
574 
575 /* Define as the return type of signal handlers (`int' or `void'). */
576 #define RETSIGTYPE void
577 
578 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
579 /* #undef STAT_MACROS_BROKEN */
580 
581 /* Define to 1 if you have the ANSI C header files. */
582 #define STDC_HEADERS 1
583 
584 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
585 #define TIME_WITH_SYS_TIME 1
586 
587 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
588 /* #undef TM_IN_SYS_TIME */
589 
590 /* Type of 1st arg on ELM Callback */
591 /* #undef WIN32_ELMCB_PCSTR */
592 
593 /* Define to `int' if <sys/types.h> does not define. */
594 /* #undef pid_t */
595 
596 /* Define to `unsigned int' if <sys/types.h> does not define. */
597 /* #undef size_t */
598 
599 #endif
600