config.h revision 310618
1/* $FreeBSD: stable/11/lib/clang/include/llvm/Config/config.h 310618 2016-12-26 20:36:37Z dim $ */
2#ifndef CONFIG_H
3#define CONFIG_H
4
5/* Get __FreeBSD_version. */
6#include <osreldate.h>
7
8/* Exported configuration */
9#include "llvm/Config/llvm-config.h"
10
11/* Bug report URL. */
12#define BUG_REPORT_URL "https://bugs.freebsd.org/submit/"
13
14/* Define if you want backtraces on crash */
15#define ENABLE_BACKTRACES
16
17/* Define to enable crash overrides */
18#define ENABLE_CRASH_OVERRIDES
19
20/* Define if position independent code is enabled */
21#define ENABLE_PIC
22
23/* Define to 1 if you have the `arc4random' function. */
24#define HAVE_DECL_ARC4RANDOM 1
25
26/* Define to 1 if you have the `backtrace' function. */
27/* #undef HAVE_BACKTRACE */
28
29/* Define to 1 if you have the `bcopy' function. */
30#undef HAVE_BCOPY
31
32/* Define to 1 if you have the `closedir' function. */
33#define HAVE_CLOSEDIR 1
34
35/* Define to 1 if you have the <cxxabi.h> header file. */
36#define HAVE_CXXABI_H 1
37
38/* Define to 1 if you have the <CrashReporterClient.h> header file. */
39#undef HAVE_CRASHREPORTERCLIENT_H
40
41/* can use __crashreporter_info__ */
42#undef HAVE_CRASHREPORTER_INFO
43
44/* Define to 1 if you have the declaration of `strerror_s', and to 0 if you
45   don't. */
46#define HAVE_DECL_STRERROR_S 0
47
48/* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
49/* #undef HAVE_DIA_SDK */
50
51/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
52   */
53#define HAVE_DIRENT_H 1
54
55/* Define if you have the GNU dld library. */
56#undef HAVE_DLD
57
58/* Define to 1 if you have the `dlerror' function. */
59#define HAVE_DLERROR 1
60
61/* Define to 1 if you have the <dlfcn.h> header file. */
62#define HAVE_DLFCN_H 1
63
64/* Define if dlopen() is available on this platform. */
65#define HAVE_DLOPEN 1
66
67/* Define if you have the _dyld_func_lookup function. */
68#undef HAVE_DYLD
69
70/* Define to 1 if you have the <errno.h> header file. */
71#define HAVE_ERRNO_H 1
72
73/* Define to 1 if you have the <execinfo.h> header file. */
74#if __FreeBSD_version >= 1000052
75#define HAVE_EXECINFO_H 1
76#endif
77
78/* Define to 1 if you have the <fcntl.h> header file. */
79#define HAVE_FCNTL_H 1
80
81/* Define to 1 if you have the <fenv.h> header file. */
82#define HAVE_FENV_H 1
83
84/* Define if libffi is available on this platform. */
85/* #undef HAVE_FFI_CALL */
86
87/* Define to 1 if you have the <ffi/ffi.h> header file. */
88/* #undef HAVE_FFI_FFI_H */
89
90/* Define to 1 if you have the <ffi.h> header file. */
91/* #undef HAVE_FFI_H */
92
93/* Define to 1 if you have the `futimes' function. */
94#define HAVE_FUTIMES 1
95
96/* Define to 1 if you have the `futimens' function */
97#if __FreeBSD_version >= 1100056
98#define HAVE_FUTIMENS 1
99#endif
100
101/* Define to 1 if you have the `getcwd' function. */
102#define HAVE_GETCWD 1
103
104/* Define to 1 if you have the `getpagesize' function. */
105#define HAVE_GETPAGESIZE 1
106
107/* Define to 1 if you have the `getrlimit' function. */
108#define HAVE_GETRLIMIT 1
109
110/* Define to 1 if you have the `getrusage' function. */
111#define HAVE_GETRUSAGE 1
112
113/* Define to 1 if you have the `gettimeofday' function. */
114#define HAVE_GETTIMEOFDAY 1
115
116/* Define to 1 if the system has the type `int64_t'. */
117#define HAVE_INT64_T 1
118
119/* Define to 1 if you have the <inttypes.h> header file. */
120#define HAVE_INTTYPES_H 1
121
122/* Define to 1 if you have the `isatty' function. */
123#define HAVE_ISATTY 1
124
125/* Define if you have the libdl library or equivalent. */
126/* #undef HAVE_LIBDL */
127
128/* Define to 1 if you have the `m' library (-lm). */
129#undef HAVE_LIBM
130
131/* Define to 1 if you have the `ole32' library (-lole32). */
132#undef HAVE_LIBOLE32
133
134/* Define to 1 if you have the `psapi' library (-lpsapi). */
135/* #undef HAVE_LIBPSAPI */
136
137/* Define to 1 if you have the `pthread' library (-lpthread). */
138#define HAVE_LIBPTHREAD 1
139
140/* Define to 1 if you have the `shell32' library (-lshell32). */
141/* #undef HAVE_LIBSHELL32 */
142
143/* Define to 1 if you have the 'z' library (-lz). */
144#define HAVE_LIBZ 1
145
146/* Define to 1 if you have the 'edit' library (-ledit). */
147#define HAVE_LIBEDIT 1
148
149/* Define to 1 if you have the <limits.h> header file. */
150#define HAVE_LIMITS_H 1
151
152/* Define to 1 if you have the <link.h> header file. */
153#define HAVE_LINK_H 1
154
155/* Define if you can use -rdynamic. */
156#define HAVE_LINK_EXPORT_DYNAMIC 1
157
158/* Define if you can use -Wl,-R. to pass -R. to the linker, in order to add
159   the current directory to the dynamic linker search path. */
160#undef HAVE_LINK_R
161
162/* Define to 1 if you have the `longjmp' function. */
163/* #undef HAVE_LONGJMP */
164
165/* Define to 1 if you have the <mach/mach.h> header file. */
166/* #undef HAVE_MACH_MACH_H */
167
168/* Define to 1 if you have the <mach-o/dyld.h> header file. */
169/* #undef HAVE_MACH_O_DYLD_H */
170
171/* Define if mallinfo() is available on this platform. */
172/* #undef HAVE_MALLINFO */
173
174/* Define to 1 if you have the <malloc.h> header file. */
175/* #undef HAVE_MALLOC_H */
176
177/* Define to 1 if you have the <malloc/malloc.h> header file. */
178/* #undef HAVE_MALLOC_MALLOC_H */
179
180/* Define to 1 if you have the `malloc_zone_statistics' function. */
181/* #undef HAVE_MALLOC_ZONE_STATISTICS */
182
183/* Define to 1 if you have the `mallctl` function. */
184#define HAVE_MALLCTL 1
185
186/* Define to 1 if you have the `mkdtemp' function. */
187#define HAVE_MKDTEMP 1
188
189/* Define to 1 if you have the `mkstemp' function. */
190#define HAVE_MKSTEMP 1
191
192/* Define to 1 if you have the `mktemp' function. */
193#define HAVE_MKTEMP 1
194
195/* Define to 1 if you have a working `mmap' system call. */
196#undef HAVE_MMAP
197
198/* Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if
199   it uses MAP_ANON */
200#undef HAVE_MMAP_ANONYMOUS
201
202/* Define if mmap() can map files into memory */
203#undef HAVE_MMAP_FILE
204
205/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
206/* #undef HAVE_NDIR_H */
207
208/* Define to 1 if you have the `opendir' function. */
209#define HAVE_OPENDIR 1
210
211/* Define to 1 if you have the `posix_spawn' function. */
212#define HAVE_POSIX_SPAWN 1
213
214/* Define to 1 if you have the `pread' function. */
215#define HAVE_PREAD 1
216
217/* Define if libtool can extract symbol lists from object files. */
218#undef HAVE_PRELOADED_SYMBOLS
219
220/* Define to have the %a format string */
221#undef HAVE_PRINTF_A
222
223/* Have pthread_getspecific */
224#define HAVE_PTHREAD_GETSPECIFIC 1
225
226/* Define to 1 if you have the <pthread.h> header file. */
227#define HAVE_PTHREAD_H 1
228
229/* Have pthread_mutex_lock */
230#define HAVE_PTHREAD_MUTEX_LOCK 1
231
232/* Have pthread_rwlock_init */
233#define HAVE_PTHREAD_RWLOCK_INIT 1
234
235/* Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h> */
236#define HAVE_RAND48 1
237
238/* Define to 1 if you have the `readdir' function. */
239#define HAVE_READDIR 1
240
241/* Define to 1 if you have the `realpath' function. */
242#define HAVE_REALPATH 1
243
244/* Define to 1 if you have the `sbrk' function. */
245#define HAVE_SBRK 1
246
247/* Define to 1 if you have the `setenv' function. */
248#define HAVE_SETENV 1
249
250/* Define to 1 if you have the `setjmp' function. */
251/* #undef HAVE_SETJMP */
252
253/* Define to 1 if you have the `setrlimit' function. */
254#define HAVE_SETRLIMIT 1
255
256/* Define if you have the shl_load function. */
257#undef HAVE_SHL_LOAD
258
259/* Define to 1 if you have the `sigaltstack' function. */
260#define HAVE_SIGALTSTACK 1
261
262/* Define to 1 if you have the `siglongjmp' function. */
263/* #undef HAVE_SIGLONGJMP */
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/* #undef HAVE_SIGSETJMP */
270
271/* Define to 1 if you have the <stdint.h> header file. */
272#define HAVE_STDINT_H 1
273
274/* Set to 1 if the std::isinf function is found in <cmath> */
275#undef HAVE_STD_ISINF_IN_CMATH
276
277/* Set to 1 if the std::isnan function is found in <cmath> */
278#undef HAVE_STD_ISNAN_IN_CMATH
279
280/* Define to 1 if you have the `strdup' function. */
281/* #undef HAVE_STRDUP */
282
283/* Define to 1 if you have the `strerror' function. */
284#define HAVE_STRERROR 1
285
286/* Define to 1 if you have the `strerror_r' function. */
287#define HAVE_STRERROR_R 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#undef HAVE_SYSCONF
297
298/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
299   */
300#define HAVE_SYS_DIR_H 1
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
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 if the setupterm() function is supported this platform. */
331#define HAVE_TERMINFO 1
332
333/* Define if the xar_open() function is supported this platform. */
334/* #undef HAVE_LIBXAR */
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 `_Unwind_Backtrace' function. */
346/* #undef HAVE_UNWIND_BACKTRACE */
347
348/* Define to 1 if you have the <utime.h> header file. */
349#define HAVE_UTIME_H 1
350
351/* Define to 1 if the system has the type `u_int64_t'. */
352#define HAVE_U_INT64_T 1
353
354/* Define to 1 if you have the <valgrind/valgrind.h> header file. */
355/* #undef HAVE_VALGRIND_VALGRIND_H */
356
357/* Define to 1 if you have the `writev' function. */
358#define HAVE_WRITEV 1
359
360/* Define to 1 if you have the <zlib.h> header file. */
361#define HAVE_ZLIB_H 1
362
363/* Have host's _alloca */
364/* #undef HAVE__ALLOCA */
365
366/* Have host's __alloca */
367/* #undef HAVE___ALLOCA */
368
369/* Have host's __ashldi3 */
370/* #undef HAVE___ASHLDI3 */
371
372/* Have host's __ashrdi3 */
373/* #undef HAVE___ASHRDI3 */
374
375/* Have host's __chkstk */
376/* #undef HAVE___CHKSTK */
377
378/* Have host's __chkstk_ms */
379/* #undef HAVE___CHKSTK_MS */
380
381/* Have host's __cmpdi2 */
382/* #undef HAVE___CMPDI2 */
383
384/* Have host's __divdi3 */
385/* #undef HAVE___DIVDI3 */
386
387/* Define to 1 if you have the `__dso_handle' function. */
388#undef HAVE___DSO_HANDLE
389
390/* Have host's __fixdfdi */
391/* #undef HAVE___FIXDFDI */
392
393/* Have host's __fixsfdi */
394/* #undef HAVE___FIXSFDI */
395
396/* Have host's __floatdidf */
397/* #undef HAVE___FLOATDIDF */
398
399/* Have host's __lshrdi3 */
400/* #undef HAVE___LSHRDI3 */
401
402/* Have host's __main */
403/* #undef HAVE___MAIN */
404
405/* Have host's __moddi3 */
406/* #undef HAVE___MODDI3 */
407
408/* Have host's __udivdi3 */
409/* #undef HAVE___UDIVDI3 */
410
411/* Have host's __umoddi3 */
412/* #undef HAVE___UMODDI3 */
413
414/* Have host's ___chkstk */
415/* #undef HAVE____CHKSTK */
416
417/* Have host's ___chkstk_ms */
418/* #undef HAVE____CHKSTK_MS */
419
420/* Linker version detected at compile time. */
421#undef HOST_LINK_VERSION
422
423/* Installation directory for binary executables */
424/* #undef LLVM_BINDIR */
425
426/* Time at which LLVM was configured */
427/* #undef LLVM_CONFIGTIME */
428
429/* Installation directory for data files */
430/* #undef LLVM_DATADIR */
431
432/* Target triple LLVM will generate code for by default
433 * Doesn't use `cmakedefine` because it is allowed to be empty.
434 */
435/* #undef LLVM_DEFAULT_TARGET_TRIPLE */
436
437/* Installation directory for documentation */
438/* #undef LLVM_DOCSDIR */
439
440/* Define if LLVM is built with asserts and checks that change the layout of
441   client-visible data structures.  */
442#define LLVM_ENABLE_ABI_BREAKING_CHECKS
443
444/* Define if threads enabled */
445#define LLVM_ENABLE_THREADS 1
446
447/* Define if zlib compression is available */
448#define LLVM_ENABLE_ZLIB 1
449
450/* Installation directory for config files */
451/* #undef LLVM_ETCDIR */
452
453/* Has gcc/MSVC atomic intrinsics */
454#define LLVM_HAS_ATOMICS 1
455
456/* Host triple LLVM will be executed on */
457/* #undef LLVM_HOST_TRIPLE */
458
459/* Installation directory for include files */
460/* #undef LLVM_INCLUDEDIR */
461
462/* Installation directory for .info files */
463/* #undef LLVM_INFODIR */
464
465/* Installation directory for man pages */
466/* #undef LLVM_MANDIR */
467
468/* LLVM architecture name for the native architecture, if available */
469#define LLVM_NATIVE_ARCH X86
470
471/* LLVM name for the native AsmParser init function, if available */
472#define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser
473
474/* LLVM name for the native AsmPrinter init function, if available */
475#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
476
477/* LLVM name for the native Disassembler init function, if available */
478#define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler
479
480/* LLVM name for the native Target init function, if available */
481#define LLVM_NATIVE_TARGET LLVMInitializeX86Target
482
483/* LLVM name for the native TargetInfo init function, if available */
484#define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
485
486/* LLVM name for the native target MC init function, if available */
487#define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
488
489/* Define if this is Unixish platform */
490#define LLVM_ON_UNIX 1
491
492/* Define if this is Win32ish platform */
493/* #undef LLVM_ON_WIN32 */
494
495/* Installation prefix directory */
496#define LLVM_PREFIX "/usr"
497
498/* Define if we have the Intel JIT API runtime support library */
499/* #undef LLVM_USE_INTEL_JITEVENTS */
500
501/* Define if we have the oprofile JIT-support library */
502/* #undef LLVM_USE_OPROFILE */
503
504/* Major version of the LLVM API */
505#define LLVM_VERSION_MAJOR 3
506
507/* Minor version of the LLVM API */
508#define LLVM_VERSION_MINOR 9
509
510/* Patch version of the LLVM API */
511#define LLVM_VERSION_PATCH 1
512
513/* LLVM version string */
514#define LLVM_VERSION_STRING "3.9.1"
515
516/* LLVM version information */
517/* #undef LLVM_VERSION_INFO */
518
519/* Define if we link Polly to the tools */
520/* #undef LINK_POLLY_INTO_TOOLS */
521
522/* Define if the OS needs help to load dependent libraries for dlopen(). */
523/* #undef LTDL_DLOPEN_DEPLIBS */
524
525/* Define to the sub-directory in which libtool stores uninstalled libraries.
526   */
527#undef LTDL_OBJDIR
528
529/* Define to the extension used for shared libraries, say, ".so". */
530#define LTDL_SHLIB_EXT ".so"
531
532/* Define to the system default library search path. */
533/* #undef LTDL_SYSSEARCHPATH */
534
535/* Define if /dev/zero should be used when mapping RWX memory, or undefine if
536   its not necessary */
537#undef NEED_DEV_ZERO_FOR_MMAP
538
539/* Define if dlsym() requires a leading underscore in symbol names. */
540#undef NEED_USCORE
541
542/* Define to the address where bug reports for this package should be sent. */
543#define PACKAGE_BUGREPORT "https://bugs.freebsd.org/submit/"
544
545/* Define to the full name of this package. */
546#define PACKAGE_NAME "LLVM"
547
548/* Define to the full name and version of this package. */
549#define PACKAGE_STRING "LLVM 3.9.1"
550
551/* Define to the one symbol short name of this package. */
552#undef PACKAGE_TARNAME
553
554/* Define to the version of this package. */
555#define PACKAGE_VERSION "3.9.1"
556
557/* Define to the vendor of this package. */
558/* #undef PACKAGE_VENDOR */
559
560/* Define as the return type of signal handlers (`int' or `void'). */
561#define RETSIGTYPE void
562
563/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
564#undef STAT_MACROS_BROKEN
565
566/* Define to 1 if you have the ANSI C header files. */
567#undef STDC_HEADERS
568
569/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
570#undef TIME_WITH_SYS_TIME
571
572/* Define to 1 if your <sys/time.h> declares `struct tm'. */
573#undef TM_IN_SYS_TIME
574
575/* Define to `int' if <sys/types.h> does not define. */
576#undef pid_t
577
578/* Define to `unsigned int' if <sys/types.h> does not define. */
579#undef size_t
580
581/* Define to a function replacing strtoll */
582/* #undef strtoll */
583
584/* Define to a function implementing strtoull */
585/* #undef strtoull */
586
587/* Define to a function implementing stricmp */
588/* #undef stricmp */
589
590/* Define to a function implementing strdup */
591/* #undef strdup */
592
593/* Define to 1 if you have the `_chsize_s' function. */
594/* #undef HAVE__CHSIZE_S */
595
596#endif
597