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