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 buildtools/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 #cmakedefine SIZEOF_INT @SIZEOF_INT@
31 #cmakedefine SIZEOF_VOIDP @SIZEOF_VOIDP@
33 /* If __thread is available */
34 #cmakedefine HAVE_THREAD_LOCAL_STORAGE @HAVE_THREAD_LOCAL_STORAGE@
36 #ifndef __STRICT_ANSI__
37 #cmakedefine __STRICT_ANSI__ @__STRICT_ANSI__@
40 #cmakedefine _MSC_VER @_MSC_VER@
43 #cmakedefine _M_IX86 @_M_IX86@
45 #cmakedefine _XBT_WIN32 @_XBT_WIN32@ //this variable is set if it is a windows platform
46 #cmakedefine _WIN32 @_WIN32@ //this variable is set if it is a 32 bits windows platform
47 #cmakedefine _WIN64 @_WIN64@ //this variable is set if it is a 64 bits windows platform
48 #cmakedefine __VISUALC__ @__VISUALC__@
49 #cmakedefine __BORLANDC__ @__BORLANDC__@
50 #cmakedefine APPLE @APPLE@
53 #cmakedefine __GNUC__ @__GNUC__@
56 /* Set to true if enable_model-checking is true */
57 #cmakedefine MMALLOC_WANT_OVERRIDE_LEGACY @MMALLOC_WANT_OVERRIDE_LEGACY@
58 #cmakedefine HAVE_MC @HAVE_MC@
60 /* If have linux_futex.h */
61 #cmakedefine HAVE_FUTEX_H @HAVE_FUTEX_H@
63 /* Some variable for libsigc++ */
64 #cmakedefine HAVE_LIBSIGC @HAVE_LIBSIGC++@
66 /* Some variable for graphviz */
67 #cmakedefine HAVE_GRAPHVIZ @HAVE_GRAPHVIZ@
68 #cmakedefine HAVE_GRAPH_H @GRAPH_H@
69 #cmakedefine HAVE_CGRAPH_H @CGRAPH_H@
70 #cmakedefine HAVE_AGRAPH_H @AGRAPH_H@
72 /* Define if building universal (internal helper macro) */
73 #cmakedefine AC_APPLE_UNIVERSAL_BUILD @AC_APPLE_UNIVERSAL_BUILD@
75 /* Arguments passed to the configure script */
76 #cmakedefine AC_CONFIGURE_ARGS @AC_CONFIGURE_ARGS@
78 /* Path to the addr2line tool */
79 #cmakedefine ADDR2LINE "@ADDR2LINE@"
81 /* Predefined possible va_copy() implementation (id: ASP) */
82 #cmakedefine __VA_COPY_USE_ASP(d, s) @__VA_COPY_USE_ASP@
84 /* Predefined possible va_copy() implementation (id: ASS) */
85 #cmakedefine __VA_COPY_USE_ASS(d, s) @__VA_COPY_USE_ASS@
87 /* Predefined possible va_copy() implementation (id: C99) */
88 #cmakedefine __VA_COPY_USE_C99(d, s) @__VA_COPY_USE_C99@
90 /* Define if xbt contexts are based on our threads implementation or not */
91 #cmakedefine CONTEXT_THREADS @CONTEXT_THREADS@
93 /* Define to 1 if you have the <ucontext.h> header file. */
94 #cmakedefine HAVE_UCONTEXT_H @HAVE_UCONTEXT_H@
96 /* Define if xbt contexts are based on ucontext or not */
97 #cmakedefine CONTEXT_UCONTEXT @CONTEXT_UCONTEXT@
99 /* Predefined possible va_copy() implementation (id: CPP) */
100 #cmakedefine __VA_COPY_USE_CPP(d, s) @__VA_COPY_USE_CPP@
102 /* Predefined possible va_copy() implementation (id: CPS) */
103 #cmakedefine __VA_COPY_USE_CPS(d, s) @__VA_COPY_USE_CPS@
105 /* Predefined possible va_copy() implementation (id: GCB) */
106 #cmakedefine __VA_COPY_USE_GCB(d, s) @__VA_COPY_USE_GCB@
108 /* Predefined possible va_copy() implementation (id: GCH) */
109 #cmakedefine __VA_COPY_USE_GCH(d, s) @__VA_COPY_USE_GCH@
111 /* Predefined possible va_copy() implementation (id: GCM) */
112 #cmakedefine __VA_COPY_USE_GCM(d, s) @__VA_COPY_USE_GCM@
114 /* Used to select the flavor of assembly that we need today */
115 #cmakedefine PROCESSOR_i686 @PROCESSOR_i686@
116 #cmakedefine PROCESSOR_x86_64 @PROCESSOR_x86_64@
117 #cmakedefine CMAKE_SYSTEM_PROCESSOR @CMAKE_SYSTEM_PROCESSOR@
118 #cmakedefine HAVE_RAWCTX @HAVE_RAWCTX@
119 #cmakedefine HAVE_BOOST_CONTEXT @HAVE_BOOST_CONTEXT@
121 /* Define to 1 if you have the GNU ld library */
122 #cmakedefine HAVE_GNU_LD @HAVE_GNU_LD@
124 /* Define to 1 if you have the <errno.h> header file. */
125 #cmakedefine HAVE_ERRNO_H @HAVE_ERRNO_H@
127 /* Define to 1 if you have the <execinfo.h> header file. */
128 #cmakedefine HAVE_EXECINFO_H @HAVE_EXECINFO_H@
130 /* Define to 1 if mmalloc is compiled in. */
131 #cmakedefine HAVE_MMALLOC @HAVE_MMALLOC@
133 /* Define to 1 if mmap is available */
134 #cmakedefine HAVE_MMAP @HAVE_MMAP@
136 /* Define to 1 if process_vm_readv is available */
137 #cmakedefine HAVE_PROCESS_VM_READV @HAVE_PROCESS_VM_READV@
139 /* Define to 1 if you have the `getdtablesize' function. */
140 #cmakedefine HAVE_GETDTABLESIZE @HAVE_GETDTABLESIZE@
142 /* Define to 1 if you have the `gettimeofday' function. */
143 #cmakedefine HAVE_GETTIMEOFDAY @HAVE_GETTIMEOFDAY@
145 /* Define to 1 if you have the `clock_gettime' function. */
146 #cmakedefine HAVE_POSIX_GETTIME @HAVE_POSIX_GETTIME@
148 /* Indicates that we have GTNETS support */
149 #cmakedefine HAVE_GTNETS @HAVE_GTNETS@
151 /* Indicates that we have SMPI support */
152 #cmakedefine HAVE_SMPI @HAVE_SMPI@
154 /* Indicates that we have SMPI FORTRAN support */
155 #cmakedefine SMPI_FORTRAN @SMPI_FORTRAN@
157 /* We have mmap and objdump to handle privatization */
158 #cmakedefine HAVE_PRIVATIZATION @HAVE_PRIVATIZATION@
160 /* Indicates that we have NS3 support */
161 #cmakedefine HAVE_NS3 @HAVE_NS3@
163 /* Define to 1 if you have the <inttypes.h> header file. */
164 #cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@
166 /* defines whether Lua bindings must be compiled or not */
167 #cmakedefine HAVE_LUA @HAVE_LUA@
169 /* Define to 1 if you have the <lua5.1/lualib.h> header file. */
170 #cmakedefine HAVE_LUA5_1_LUALIB_H @HAVE_LUA5_1_LUALIB_H@
172 /* Define to 1 if you have the `makecontext' function. */
173 #cmakedefine HAVE_MAKECONTEXT @HAVE_MAKECONTEXT@
175 /* Define to 1 if you have the <memory.h> header file. */
176 #cmakedefine HAVE_MEMORY_H @HAVE_MEMORY_H@
178 /* Define if pthread_mutex_timedlock() is avaible or not (part of XPG6
180 #cmakedefine HAVE_MUTEX_TIMEDLOCK @HAVE_MUTEX_TIMEDLOCK@
182 /* Define to 1 if you have the `popen' function. */
183 #cmakedefine HAVE_POPEN @HAVE_POPEN@
185 /* Define to 1 if you have the <pthread.h> header file. */
186 #cmakedefine HAVE_PTHREAD_H @HAVE_PTHREAD_H@
188 /* Define to 1 if you have the `readv' function. */
189 #cmakedefine HAVE_READV @HAVE_READV@
191 /* Define if sem_init() is avaible or not (part of XPG6 standard only) */
192 #cmakedefine HAVE_SEM_INIT @HAVE_SEM_INIT@
194 /* Define if sem_timedwait() is avaible or not (part of XPG6 standard only) */
195 #cmakedefine HAVE_SEM_TIMEDWAIT @HAVE_SEM_TIMEDWAIT@
197 /* Define to 1 if you have the `signal' function. */
198 #cmakedefine HAVE_SIGNAL @HAVE_SIGNAL@
200 /* Define to 1 if you have the <signal.h> header file. */
201 #cmakedefine HAVE_SIGNAL_H @HAVE_SIGNAL_H@
203 /* Define to 1 if you have the `snprintf' function. */
204 #cmakedefine HAVE_SNPRINTF @HAVE_SNPRINTF@
206 /* Define to 1 if you have the <stdint.h> header file. */
207 #cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@
209 /* Define to 1 if you have the <stdlib.h> header file. */
210 #cmakedefine HAVE_STDLIB_H @HAVE_STDLIB_H@
212 /* Define to 1 if you have the <strings.h> header file. */
213 #cmakedefine HAVE_STRINGS_H @HAVE_STRINGS_H@
215 /* Define to 1 if you have the <string.h> header file. */
216 #cmakedefine HAVE_STRING_H @HAVE_STRING_H@
218 /* Define to 1 if you have the `sysconf' function. */
219 #cmakedefine HAVE_SYSCONF @HAVE_SYSCONF@
221 /* Define to 1 if you have the <sys/socket.h> header file. */
222 #cmakedefine HAVE_SYS_SOCKET_H @HAVE_SYS_SOCKET_H@
224 /* Define to 1 if you have the <sys/stat.h> header file. */
225 #cmakedefine HAVE_SYS_STAT_H @HAVE_SYS_STAT_H@
227 /* Define to 1 if you have the <sys/time.h> header file. */
228 #cmakedefine HAVE_SYS_TIME_H @HAVE_SYS_TIME_H@
230 /* Define to 1 if you have the <sys/types.h> header file. */
231 #cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@
233 /* Define to 1 if you have the <unistd.h> header file. */
234 #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
236 /* Define to 1 if you have the `nanosleep' function. */
237 #cmakedefine HAVE_NANOSLEEP @HAVE_NANOSLEEP@
239 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
240 #cmakedefine HAVE_VALGRIND_VALGRIND_H @HAVE_VALGRIND_VALGRIND_H@
242 /* Define if va_copy() macro exists (and no fallback implementation is
244 #cmakedefine HAVE_VA_COPY @HAVE_VA_COPY@
246 /* Define to 1 if you have the `vsnprintf' function. */
247 #cmakedefine HAVE_VSNPRINTF @HAVE_VSNPRINTF@
249 /* Define to 1 if you have the <windows.h> header file. */
250 #cmakedefine HAVE_WINDOWS_H @HAVE_WINDOWS_H@
252 /* Define to 1 if you have the <winsock2.h> header file. */
253 #cmakedefine HAVE_WINSOCK2_H @HAVE_WINSOCK2_H@
255 /* Define to 1 if you have the <winsock.h> header file. */
256 #cmakedefine HAVE_WINSOCK_H @HAVE_WINSOCK_H@
258 /* Define to the sub-directory in which libtool stores uninstalled libraries.*/
259 #cmakedefine LT_OBJDIR @LT_OBJDIR@
261 /* enable the asprintf replacement */
262 #cmakedefine NEED_ASPRINTF @NEED_ASPRINTF@
264 /* enable the vasprintf replacement */
265 #cmakedefine NEED_VASPRINTF @NEED_VASPRINTF@
267 /* Name of package */
268 #cmakedefine PACKAGE @PACKAGE@
270 /* Define to the address where bug reports for this package should be sent. */
271 #cmakedefine PACKAGE_BUGREPORT @PACKAGE_BUGREPORT@
273 /* Define to the full name of this package. */
274 #cmakedefine PACKAGE_NAME @PACKAGE_NAME@
276 /* Define to the full name and version of this package. */
277 #cmakedefine PACKAGE_STRING @PACKAGE_STRING@
279 /* Define to the one symbol short name of this package. */
280 #cmakedefine PACKAGE_TARNAME @PACKAGE_TARNAME@
282 /* Define to the home page for this package. */
283 #cmakedefine PACKAGE_URL @PACKAGE_URL@
285 /* Define to the version of this package. */
286 #cmakedefine PACKAGE_VERSION @PACKAGE_VERSION@
288 /* "enable replacement (v)snprintf if system (v)snprintf is broken" */
289 #cmakedefine PREFER_PORTABLE_SNPRINTF @PREFER_PORTABLE_SNPRINTF@
291 /* define for stack growth */
292 #cmakedefine PTH_STACKGROWTH @PTH_STACKGROWTH@
294 /* The maximal size of any scalar on this arch */
295 #cmakedefine SIZEOF_MAX @SIZEOF_MAX@
297 /* Define to 1 if you have the ANSI C header files. */
298 #cmakedefine STDC_HEADERS @STDC_HEADERS@
300 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
301 #cmakedefine TIME_WITH_SYS_TIME @TIME_WITH_SYS_TIME@
303 /* Tracking of latency bound */
304 #cmakedefine HAVE_LATENCY_BOUND_TRACKING @HAVE_LATENCY_BOUND_TRACKING@
306 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
307 significant byte first (like Motorola and SPARC, unlike Intel). */
308 #if defined AC_APPLE_UNIVERSAL_BUILD
309 # if defined __BIG_ENDIAN__
310 # define WORDS_BIGENDIAN 1
313 # ifndef WORDS_BIGENDIAN
314 /* # undef WORDS_BIGENDIAN */
318 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
320 #cmakedefine YYTEXT_POINTER
322 /* Optional va_copy() implementation activation */
324 #define va_copy(d, s) __VA_COPY_USE(d, s)
326 /* Define to id of used va_copy() implementation */
327 #cmakedefine __VA_COPY_USE(d, s) @__VA_COPY_USE@
329 /* Define to empty if `const' does not conform to ANSI C. */
330 #cmakedefine const @const@
332 /* Define to `__inline__' or `__inline' if that's what the C compiler
333 calls it, or to nothing if 'inline' is not supported under any name. */
335 #cmakedefine inline @inline@
338 /* Define to `unsigned int' if <sys/types.h> does not define. */
339 #cmakedefine size_t @size_t@