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