OSDN Git Service

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