1 /* internal_config.h -- characteristics of the platform, as probed by Cmake */
3 /* This file is AUTOMATICALLY GENERATED by Cmake. Edit the following
4 template instead tools/cmake/src/internal_config.h.in */
6 /* Copyright (c) 2004-2014. The SimGrid Team.
7 * All rights reserved. */
9 /* This program is free software; you can redistribute it and/or modify it
10 * under the terms of the license (GNU LGPL) which comes with this package. */
12 /* Set somes variables for Windows compilation */
14 #ifdef _XBT_DLL_EXPORT
19 #ifdef _XBT_DLL_STATIC
30 /* If __thread is available */
31 #cmakedefine HAVE_THREAD_LOCAL_STORAGE @HAVE_THREAD_LOCAL_STORAGE@
33 #ifndef __STRICT_ANSI__
34 #cmakedefine __STRICT_ANSI__ @__STRICT_ANSI__@
37 #cmakedefine _MSC_VER @_MSC_VER@
40 #cmakedefine _M_IX86 @_M_IX86@
42 #cmakedefine _XBT_WIN32 @_XBT_WIN32@ //this variable is set if it is a windows platform
43 #cmakedefine _WIN32 @_WIN32@ //this variable is set if it is a 32 bits windows platform
44 #cmakedefine _WIN64 @_WIN64@ //this variable is set if it is a 64 bits windows platform
45 #cmakedefine __VISUALC__ @__VISUALC__@
46 #cmakedefine __BORLANDC__ @__BORLANDC__@
47 #cmakedefine APPLE @APPLE@
51 /* Set to true if enable_model-checking is true */
52 #cmakedefine MMALLOC_WANT_OVERRIDE_LEGACY @MMALLOC_WANT_OVERRIDE_LEGACY@
53 #cmakedefine HAVE_MC @HAVE_MC@
55 /* If have linux_futex.h */
56 #cmakedefine HAVE_FUTEX_H @HAVE_FUTEX_H@
58 /* Some variable for graphviz */
59 #cmakedefine HAVE_GRAPHVIZ @HAVE_GRAPHVIZ@
60 #cmakedefine HAVE_GRAPH_H @GRAPH_H@
61 #cmakedefine HAVE_CGRAPH_H @CGRAPH_H@
62 #cmakedefine HAVE_AGRAPH_H @AGRAPH_H@
64 /* Define if building universal (internal helper macro) */
65 #cmakedefine AC_APPLE_UNIVERSAL_BUILD @AC_APPLE_UNIVERSAL_BUILD@
67 /* Arguments passed to the configure script */
68 #cmakedefine AC_CONFIGURE_ARGS @AC_CONFIGURE_ARGS@
70 /* Path to the addr2line tool */
71 #cmakedefine ADDR2LINE "@ADDR2LINE@"
73 /* Predefined possible va_copy() implementation (id: ASP) */
74 #cmakedefine __VA_COPY_USE_ASP(d, s) @__VA_COPY_USE_ASP@
76 /* Predefined possible va_copy() implementation (id: ASS) */
77 #cmakedefine __VA_COPY_USE_ASS(d, s) @__VA_COPY_USE_ASS@
79 /* Predefined possible va_copy() implementation (id: C99) */
80 #cmakedefine __VA_COPY_USE_C99(d, s) @__VA_COPY_USE_C99@
82 /* Define if xbt contexts are based on our threads implementation or not */
83 #cmakedefine HAVE_THREAD_CONTEXTS @HAVE_THREAD_CONTEXTS@
85 /* Define to 1 if you have the <ucontext.h> header file. */
86 #cmakedefine HAVE_UCONTEXT_H @HAVE_UCONTEXT_H@
88 /* Define if xbt contexts are based on ucontext or not */
89 #cmakedefine HAVE_UCONTEXT_CONTEXTS @HAVE_UCONTEXT_CONTEXTS@
91 /* Predefined possible va_copy() implementation (id: CPP) */
92 #cmakedefine __VA_COPY_USE_CPP(d, s) @__VA_COPY_USE_CPP@
94 /* Predefined possible va_copy() implementation (id: CPS) */
95 #cmakedefine __VA_COPY_USE_CPS(d, s) @__VA_COPY_USE_CPS@
97 /* Predefined possible va_copy() implementation (id: GCB) */
98 #cmakedefine __VA_COPY_USE_GCB(d, s) @__VA_COPY_USE_GCB@
100 /* Predefined possible va_copy() implementation (id: GCH) */
101 #cmakedefine __VA_COPY_USE_GCH(d, s) @__VA_COPY_USE_GCH@
103 /* Predefined possible va_copy() implementation (id: GCM) */
104 #cmakedefine __VA_COPY_USE_GCM(d, s) @__VA_COPY_USE_GCM@
106 /* Used to select the flavor of assembly that we need today */
107 #cmakedefine PROCESSOR_i686 @PROCESSOR_i686@
108 #cmakedefine PROCESSOR_x86_64 @PROCESSOR_x86_64@
109 #cmakedefine CMAKE_SYSTEM_PROCESSOR @CMAKE_SYSTEM_PROCESSOR@
110 #cmakedefine HAVE_RAW_CONTEXTS @HAVE_RAW_CONTEXTS@
111 #cmakedefine HAVE_BOOST_CONTEXTS @HAVE_BOOST_CONTEXTS@
113 /* Define to 1 if you have the GNU ld library */
114 #cmakedefine HAVE_GNU_LD @HAVE_GNU_LD@
116 /* Define to 1 if you have the <errno.h> header file. */
117 #cmakedefine HAVE_ERRNO_H @HAVE_ERRNO_H@
119 /* Define to 1 if you have the <execinfo.h> header file. */
120 #cmakedefine HAVE_EXECINFO_H @HAVE_EXECINFO_H@
122 /* Define to 1 if mmalloc is compiled in. */
123 #cmakedefine HAVE_MMALLOC @HAVE_MMALLOC@
125 /* Define to 1 if mmap is available */
126 #cmakedefine HAVE_MMAP @HAVE_MMAP@
128 /* Define to 1 if process_vm_readv is available */
129 #cmakedefine HAVE_PROCESS_VM_READV @HAVE_PROCESS_VM_READV@
131 /* Define to 1 if you have the `getdtablesize' function. */
132 #cmakedefine HAVE_GETDTABLESIZE @HAVE_GETDTABLESIZE@
134 /* Define to 1 if you have the `gettimeofday' function. */
135 #cmakedefine HAVE_GETTIMEOFDAY @HAVE_GETTIMEOFDAY@
137 /* Define to 1 if you have the `clock_gettime' function. */
138 #cmakedefine HAVE_POSIX_GETTIME @HAVE_POSIX_GETTIME@
140 /* Indicates that we have SMPI support */
141 #cmakedefine HAVE_SMPI @HAVE_SMPI@
143 /* Indicates that we have SMPI FORTRAN support */
144 #cmakedefine SMPI_FORTRAN @SMPI_FORTRAN@
146 /* We have mmap and objdump to handle privatization */
147 #cmakedefine HAVE_PRIVATIZATION @HAVE_PRIVATIZATION@
149 /* Indicates that we have NS3 support */
150 #cmakedefine HAVE_NS3 @HAVE_NS3@
152 /* defines whether Lua bindings must be compiled or not */
153 #cmakedefine HAVE_LUA @HAVE_LUA@
155 /* Define to 1 if you have the <lua5.1/lualib.h> header file. */
156 #cmakedefine HAVE_LUA5_1_LUALIB_H @HAVE_LUA5_1_LUALIB_H@
158 /* Define to 1 if you have the `makecontext' function. */
159 #cmakedefine HAVE_MAKECONTEXT @HAVE_MAKECONTEXT@
161 /* Define if pthread_mutex_timedlock() is avaible or not (part of XPG6
163 #cmakedefine HAVE_MUTEX_TIMEDLOCK @HAVE_MUTEX_TIMEDLOCK@
165 /* Define to 1 if you have the `popen' function. */
166 #cmakedefine HAVE_POPEN @HAVE_POPEN@
168 /* Define to 1 if threads are usable . */
169 #cmakedefine HAVE_PTHREAD @HAVE_PTHREAD@
171 /* Define to 1 if you have the `readv' function. */
172 #cmakedefine HAVE_READV @HAVE_READV@
174 /* Define if sem_init() is avaible or not (part of XPG6 standard only) */
175 #cmakedefine HAVE_SEM_INIT @HAVE_SEM_INIT@
177 /* Define if sem_timedwait() is avaible or not (part of XPG6 standard only) */
178 #cmakedefine HAVE_SEM_TIMEDWAIT @HAVE_SEM_TIMEDWAIT@
180 /* Define to 1 if you have the `signal' function. */
181 #cmakedefine HAVE_SIGNAL @HAVE_SIGNAL@
183 /* Define to 1 if you have the <signal.h> header file. */
184 #cmakedefine HAVE_SIGNAL_H @HAVE_SIGNAL_H@
186 /* Define to 1 if you have the `snprintf' function. */
187 #cmakedefine HAVE_SNPRINTF @HAVE_SNPRINTF@
189 /* Define to 1 if you have the <stdint.h> header file. */
190 #cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@
192 /* Define to 1 if you have the <string.h> header file. */
193 #cmakedefine HAVE_STRING_H @HAVE_STRING_H@
195 /* Define to 1 if you have the `sysconf' function. */
196 #cmakedefine HAVE_SYSCONF @HAVE_SYSCONF@
198 /* Define to 1 if you have the <sys/stat.h> header file. */
199 #cmakedefine HAVE_SYS_STAT_H @HAVE_SYS_STAT_H@
201 /* Define to 1 if you have the <sys/ptrace.h> header file. */
202 #cmakedefine HAVE_SYS_PTRACE_H @HAVE_SYS_PTRACE_H@
204 /* Define to 1 if you have the <sys/time.h> header file. */
205 #cmakedefine HAVE_SYS_TIME_H @HAVE_SYS_TIME_H@
207 /* Define to 1 if you have the <sys/types.h> header file. */
208 #cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@
210 /* Define to 1 if you have the <unistd.h> header file. */
211 #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
213 /* Define to 1 if you have the `nanosleep' function. */
214 #cmakedefine HAVE_NANOSLEEP @HAVE_NANOSLEEP@
216 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
217 #cmakedefine HAVE_VALGRIND_VALGRIND_H @HAVE_VALGRIND_VALGRIND_H@
219 /* Define if va_copy() macro exists (and no fallback implementation is
221 #cmakedefine HAVE_VA_COPY @HAVE_VA_COPY@
223 /* Define to 1 if you have the `vsnprintf' function. */
224 #cmakedefine HAVE_VSNPRINTF @HAVE_VSNPRINTF@
226 /* Define to 1 if you have the <windows.h> header file. */
227 #cmakedefine HAVE_WINDOWS_H @HAVE_WINDOWS_H@
229 /* Define to the sub-directory in which libtool stores uninstalled libraries.*/
230 #cmakedefine LT_OBJDIR @LT_OBJDIR@
232 /* enable the asprintf replacement */
233 #cmakedefine NEED_ASPRINTF @NEED_ASPRINTF@
235 /* enable the vasprintf replacement */
236 #cmakedefine NEED_VASPRINTF @NEED_VASPRINTF@
238 /* Name of package */
239 #cmakedefine PACKAGE @PACKAGE@
241 /* Define to the address where bug reports for this package should be sent. */
242 #cmakedefine PACKAGE_BUGREPORT @PACKAGE_BUGREPORT@
244 /* Define to the full name of this package. */
245 #cmakedefine PACKAGE_NAME @PACKAGE_NAME@
247 /* Define to the full name and version of this package. */
248 #cmakedefine PACKAGE_STRING @PACKAGE_STRING@
250 /* Define to the one symbol short name of this package. */
251 #cmakedefine PACKAGE_TARNAME @PACKAGE_TARNAME@
253 /* Define to the home page for this package. */
254 #cmakedefine PACKAGE_URL @PACKAGE_URL@
256 /* Define to the version of this package. */
257 #cmakedefine PACKAGE_VERSION @PACKAGE_VERSION@
259 /* "enable replacement (v)snprintf if system (v)snprintf is broken" */
260 #cmakedefine PREFER_PORTABLE_SNPRINTF @PREFER_PORTABLE_SNPRINTF@
262 /* define for stack growth */
263 #cmakedefine PTH_STACKGROWTH @PTH_STACKGROWTH@
265 /* The maximal size of any scalar on this arch */
266 #cmakedefine SIZEOF_MAX @SIZEOF_MAX@
268 /* Define to 1 if you have the ANSI C header files. */
269 #cmakedefine STDC_HEADERS @STDC_HEADERS@
271 /* Tracking of latency bound */
272 #cmakedefine HAVE_LATENCY_BOUND_TRACKING @HAVE_LATENCY_BOUND_TRACKING@
274 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
276 #cmakedefine YYTEXT_POINTER
278 /* Optional va_copy() implementation activation */
280 #define va_copy(d, s) __VA_COPY_USE(d, s)
282 /* Define to id of used va_copy() implementation */
283 #cmakedefine __VA_COPY_USE(d, s) @__VA_COPY_USE@
285 /* Define to empty if `const' does not conform to ANSI C. */
286 #cmakedefine const @const@
288 /* Define to `__inline__' or `__inline' if that's what the C compiler
289 calls it, or to nothing if 'inline' is not supported under any name. */
291 #cmakedefine inline @inline@
294 /* Define to `unsigned int' if <sys/types.h> does not define. */
295 #cmakedefine size_t @size_t@