xref: /freebsd/lib/clang/include/llvm/Config/config.h (revision 7c1b51d6dc2e165ae7333373513b080f17cf79bd)
1 /* $FreeBSD$ */
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 to 1 to enable backtraces, and to 0 otherwise. */
15 #define ENABLE_BACKTRACES 0
16 
17 /* Define to 1 to enable crash overrides, and to 0 otherwise. */
18 #define ENABLE_CRASH_OVERRIDES 1
19 
20 #if __FreeBSD_version >= 1000052
21 /* Define to 1 if you have the `backtrace' function. */
22 #define HAVE_BACKTRACE TRUE
23 
24 #define BACKTRACE_HEADER <execinfo.h>
25 #endif
26 
27 /* Define to 1 if you have the <CrashReporterClient.h> header file. */
28 /* #undef HAVE_CRASHREPORTERCLIENT_H */
29 
30 /* can use __crashreporter_info__ */
31 #define HAVE_CRASHREPORTER_INFO 0
32 
33 /* Define to 1 if you have the declaration of `arc4random', and to 0 if you
34    don't. */
35 #define HAVE_DECL_ARC4RANDOM 1
36 
37 /* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you
38    don't. */
39 #define HAVE_DECL_FE_ALL_EXCEPT 1
40 
41 /* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you
42    don't. */
43 #define HAVE_DECL_FE_INEXACT 1
44 
45 /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you
46    don't. */
47 #define HAVE_DECL_STRERROR_S 0
48 
49 /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
50 #define LLVM_ENABLE_DIA_SDK 0
51 
52 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
53    */
54 #define HAVE_DIRENT_H 1
55 
56 /* Define to 1 if you have the <dlfcn.h> header file. */
57 #define HAVE_DLFCN_H 1
58 
59 /* Define if dlopen() is available on this platform. */
60 #define HAVE_DLOPEN 1
61 
62 /* Define if dladdr() is available on this platform. */
63 #define HAVE_DLADDR 1
64 
65 /* Define to 1 if you have the <errno.h> header file. */
66 #define HAVE_ERRNO_H 1
67 
68 /* Define to 1 if you have the <fcntl.h> header file. */
69 #define HAVE_FCNTL_H 1
70 
71 /* Define to 1 if you have the <fenv.h> header file. */
72 #define HAVE_FENV_H 1
73 
74 /* Define if libffi is available on this platform. */
75 /* #undef HAVE_FFI_CALL */
76 
77 /* Define to 1 if you have the <ffi/ffi.h> header file. */
78 /* #undef HAVE_FFI_FFI_H */
79 
80 /* Define to 1 if you have the <ffi.h> header file. */
81 /* #undef HAVE_FFI_H */
82 
83 /* Define to 1 if you have the `futimens' function. */
84 #if __FreeBSD_version >= 1100056
85 #define HAVE_FUTIMENS 1
86 #endif
87 
88 /* Define to 1 if you have the `futimes' function. */
89 #define HAVE_FUTIMES 1
90 
91 /* Define to 1 if you have the `getcwd' function. */
92 #define HAVE_GETCWD 1
93 
94 /* Define to 1 if you have the `getpagesize' function. */
95 #define HAVE_GETPAGESIZE 1
96 
97 /* Define to 1 if you have the `getrlimit' function. */
98 #define HAVE_GETRLIMIT 1
99 
100 /* Define to 1 if you have the `getrusage' function. */
101 #define HAVE_GETRUSAGE 1
102 
103 /* Define to 1 if you have the `gettimeofday' function. */
104 #define HAVE_GETTIMEOFDAY 1
105 
106 /* Define to 1 if the system has the type `int64_t'. */
107 #define HAVE_INT64_T 1
108 
109 /* Define to 1 if you have the <inttypes.h> header file. */
110 #define HAVE_INTTYPES_H 1
111 
112 /* Define to 1 if you have the `isatty' function. */
113 #define HAVE_ISATTY 1
114 
115 /* Define to 1 if you have the `edit' library (-ledit). */
116 #define HAVE_LIBEDIT 1
117 
118 /* Define to 1 if you have the `psapi' library (-lpsapi). */
119 /* #undef HAVE_LIBPSAPI */
120 
121 /* Define to 1 if you have the `pthread' library (-lpthread). */
122 #define HAVE_LIBPTHREAD 1
123 
124 /* Define to 1 if you have the `shell32' library (-lshell32). */
125 /* #undef HAVE_LIBSHELL32 */
126 
127 /* Define to 1 if you have the `z' library (-lz). */
128 #define HAVE_LIBZ 1
129 
130 /* Define to 1 if you have the <link.h> header file. */
131 #define HAVE_LINK_H 1
132 
133 /* Define to 1 if you have the `lseek64' function. */
134 /* #undef HAVE_LSEEK64 */
135 
136 /* Define to 1 if you have the <mach/mach.h> header file. */
137 /* #undef HAVE_MACH_MACH_H */
138 
139 /* Define to 1 if you have the `mallctl' function. */
140 #define HAVE_MALLCTL 1
141 
142 /* Define to 1 if you have the `mallinfo' function. */
143 /* #undef HAVE_MALLINFO */
144 
145 /* Define to 1 if you have the <malloc.h> header file. */
146 /* #undef HAVE_MALLOC_H */
147 
148 /* Define to 1 if you have the <malloc/malloc.h> header file. */
149 /* #undef HAVE_MALLOC_MALLOC_H */
150 
151 /* Define to 1 if you have the `malloc_zone_statistics' function. */
152 /* #undef HAVE_MALLOC_ZONE_STATISTICS */
153 
154 /* Define to 1 if you have the `mkdtemp' function. */
155 #define HAVE_MKDTEMP 1
156 
157 /* Define to 1 if you have the `mkstemp' function. */
158 #define HAVE_MKSTEMP 1
159 
160 /* Define to 1 if you have the `mktemp' function. */
161 #define HAVE_MKTEMP 1
162 
163 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
164 /* #undef HAVE_NDIR_H */
165 
166 /* Define to 1 if you have the `posix_fallocate' function. */
167 #define HAVE_POSIX_FALLOCATE 1
168 
169 /* Define to 1 if you have the `posix_spawn' function. */
170 #define HAVE_POSIX_SPAWN 1
171 
172 /* Define to 1 if you have the `pread' function. */
173 #define HAVE_PREAD 1
174 
175 /* Have pthread_getspecific */
176 #define HAVE_PTHREAD_GETSPECIFIC 1
177 
178 /* Define to 1 if you have the <pthread.h> header file. */
179 #define HAVE_PTHREAD_H 1
180 
181 /* Have pthread_mutex_lock */
182 #define HAVE_PTHREAD_MUTEX_LOCK 1
183 
184 /* Have pthread_rwlock_init */
185 #define HAVE_PTHREAD_RWLOCK_INIT 1
186 
187 /* Define to 1 if you have the `realpath' function. */
188 #define HAVE_REALPATH 1
189 
190 /* Define to 1 if you have the `sbrk' function. */
191 #define HAVE_SBRK 1
192 
193 /* Define to 1 if you have the `setenv' function. */
194 #define HAVE_SETENV 1
195 
196 /* Define to 1 if you have the `setrlimit' function. */
197 #define HAVE_SETRLIMIT 1
198 
199 /* Define to 1 if you have the `sigaltstack' function. */
200 #define HAVE_SIGALTSTACK 1
201 
202 /* Define to 1 if you have the <signal.h> header file. */
203 #define HAVE_SIGNAL_H 1
204 
205 /* Define to 1 if you have the <stdint.h> header file. */
206 #define HAVE_STDINT_H 1
207 
208 /* Define to 1 if you have the `strerror' function. */
209 #define HAVE_STRERROR 1
210 
211 /* Define to 1 if you have the `strerror_r' function. */
212 #define HAVE_STRERROR_R 1
213 
214 /* Define to 1 if you have the `strtoll' function. */
215 #define HAVE_STRTOLL 1
216 
217 /* Define to 1 if you have the `sysconf' function. */
218 #define HAVE_SYSCONF 1
219 
220 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
221    */
222 #define HAVE_SYS_DIR_H 1
223 
224 /* Define to 1 if you have the <sys/ioctl.h> header file. */
225 #define HAVE_SYS_IOCTL_H 1
226 
227 /* Define to 1 if you have the <sys/mman.h> header file. */
228 #define HAVE_SYS_MMAN_H 1
229 
230 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
231    */
232 /* #undef HAVE_SYS_NDIR_H */
233 
234 /* Define to 1 if you have the <sys/param.h> header file. */
235 #define HAVE_SYS_PARAM_H 1
236 
237 /* Define to 1 if you have the <sys/resource.h> header file. */
238 #define HAVE_SYS_RESOURCE_H 1
239 
240 /* Define to 1 if you have the <sys/stat.h> header file. */
241 #define HAVE_SYS_STAT_H 1
242 
243 /* Define to 1 if you have the <sys/time.h> header file. */
244 #define HAVE_SYS_TIME_H 1
245 
246 /* Define to 1 if you have the <sys/types.h> header file. */
247 #define HAVE_SYS_TYPES_H 1
248 
249 /* Define to 1 if you have the <sys/uio.h> header file. */
250 #define HAVE_SYS_UIO_H 1
251 
252 /* Define if the setupterm() function is supported this platform. */
253 #define HAVE_TERMINFO 1
254 
255 /* Define if the xar_open() function is supported this platform. */
256 /* #undef HAVE_LIBXAR */
257 
258 /* Define to 1 if you have the <termios.h> header file. */
259 #define HAVE_TERMIOS_H 1
260 
261 /* Define to 1 if the system has the type `uint64_t'. */
262 #define HAVE_UINT64_T 1
263 
264 /* Define to 1 if you have the <unistd.h> header file. */
265 #define HAVE_UNISTD_H 1
266 
267 /* Define to 1 if the system has the type `u_int64_t'. */
268 #define HAVE_U_INT64_T 1
269 
270 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
271 /* #undef HAVE_VALGRIND_VALGRIND_H */
272 
273 /* Define to 1 if you have the `writev' function. */
274 #define HAVE_WRITEV 1
275 
276 /* Define to 1 if you have the <zlib.h> header file. */
277 #define HAVE_ZLIB_H 1
278 
279 /* Have host's _alloca */
280 /* #undef HAVE__ALLOCA */
281 
282 /* Define to 1 if you have the `_chsize_s' function. */
283 /* #undef HAVE__CHSIZE_S */
284 
285 /* Define to 1 if you have the `_Unwind_Backtrace' function. */
286 /* #undef HAVE__UNWIND_BACKTRACE */
287 
288 /* Have host's __alloca */
289 /* #undef HAVE___ALLOCA */
290 
291 /* Have host's __ashldi3 */
292 /* #undef HAVE___ASHLDI3 */
293 
294 /* Have host's __ashrdi3 */
295 /* #undef HAVE___ASHRDI3 */
296 
297 /* Have host's __chkstk */
298 /* #undef HAVE___CHKSTK */
299 
300 /* Have host's __chkstk_ms */
301 /* #undef HAVE___CHKSTK_MS */
302 
303 /* Have host's __cmpdi2 */
304 /* #undef HAVE___CMPDI2 */
305 
306 /* Have host's __divdi3 */
307 /* #undef HAVE___DIVDI3 */
308 
309 /* Have host's __fixdfdi */
310 /* #undef HAVE___FIXDFDI */
311 
312 /* Have host's __fixsfdi */
313 /* #undef HAVE___FIXSFDI */
314 
315 /* Have host's __floatdidf */
316 /* #undef HAVE___FLOATDIDF */
317 
318 /* Have host's __lshrdi3 */
319 /* #undef HAVE___LSHRDI3 */
320 
321 /* Have host's __main */
322 /* #undef HAVE___MAIN */
323 
324 /* Have host's __moddi3 */
325 /* #undef HAVE___MODDI3 */
326 
327 /* Have host's __udivdi3 */
328 /* #undef HAVE___UDIVDI3 */
329 
330 /* Have host's __umoddi3 */
331 /* #undef HAVE___UMODDI3 */
332 
333 /* Have host's ___chkstk */
334 /* #undef HAVE____CHKSTK */
335 
336 /* Have host's ___chkstk_ms */
337 /* #undef HAVE____CHKSTK_MS */
338 
339 /* Linker version detected at compile time. */
340 /* #undef HOST_LINK_VERSION */
341 
342 /* Define if we link Polly to the tools */
343 /* #undef LINK_POLLY_INTO_TOOLS */
344 
345 /* Target triple LLVM will generate code for by default */
346 /* Doesn't use `cmakedefine` because it is allowed to be empty. */
347 /* #undef LLVM_DEFAULT_TARGET_TRIPLE */
348 
349 /* Define if threads enabled */
350 #define LLVM_ENABLE_THREADS 1
351 
352 /* Define if zlib compression is available */
353 #define LLVM_ENABLE_ZLIB 1
354 
355 /* Has gcc/MSVC atomic intrinsics */
356 #define LLVM_HAS_ATOMICS 1
357 
358 /* Host triple LLVM will be executed on */
359 /* #undef LLVM_HOST_TRIPLE */
360 
361 /* Define if this is Unixish platform */
362 #define LLVM_ON_UNIX 1
363 
364 /* Define if this is Win32ish platform */
365 /* #undef LLVM_ON_WIN32 */
366 
367 /* Define if overriding target triple is enabled */
368 /* #undef LLVM_TARGET_TRIPLE_ENV */
369 
370 /* Define if we have the Intel JIT API runtime support library */
371 #define LLVM_USE_INTEL_JITEVENTS 0
372 
373 /* Define if we have the oprofile JIT-support library */
374 #define LLVM_USE_OPROFILE 0
375 
376 /* LLVM version information */
377 /* #undef LLVM_VERSION_INFO */
378 
379 /* Whether tools show host and target info when invoked with --version */
380 #define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1
381 
382 /* Major version of the LLVM API */
383 #define LLVM_VERSION_MAJOR 5
384 
385 /* Minor version of the LLVM API */
386 #define LLVM_VERSION_MINOR 0
387 
388 /* Patch version of the LLVM API */
389 #define LLVM_VERSION_PATCH 0
390 
391 /* LLVM version string */
392 #define LLVM_VERSION_STRING "5.0.0svn"
393 
394 /* Define to the extension used for shared libraries, say, ".so". */
395 #define LTDL_SHLIB_EXT ".so"
396 
397 /* Define to the address where bug reports for this package should be sent. */
398 #define PACKAGE_BUGREPORT "https://bugs.freebsd.org/submit/"
399 
400 /* Define to the full name of this package. */
401 #define PACKAGE_NAME "LLVM"
402 
403 /* Define to the full name and version of this package. */
404 #define PACKAGE_STRING "LLVM 5.0.0svn"
405 
406 /* Define to the one symbol short name of this package. */
407 #undef PACKAGE_TARNAME
408 
409 /* Define to the version of this package. */
410 #define PACKAGE_VERSION "5.0.0svn"
411 
412 /* Define to the vendor of this package. */
413 /* #undef PACKAGE_VENDOR */
414 
415 /* Define as the return type of signal handlers (`int' or `void'). */
416 #define RETSIGTYPE void
417 
418 /* Define to a function replacing strtoll */
419 /* #undef strtoll */
420 
421 /* Define to a function implementing strtoull */
422 /* #undef strtoull */
423 
424 /* Define to a function implementing stricmp */
425 /* #undef stricmp */
426 
427 /* Define to a function implementing strdup */
428 /* #undef strdup */
429 
430 #endif
431