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@
120 /* Define to 1 if you have the GNU ld library */
121 #cmakedefine HAVE_GNU_LD @HAVE_GNU_LD@
123 /* Define to 1 if you have the <errno.h> header file. */
124 #cmakedefine HAVE_ERRNO_H @HAVE_ERRNO_H@
126 /* Define to 1 if you have the <execinfo.h> header file. */
127 #cmakedefine HAVE_EXECINFO_H @HAVE_EXECINFO_H@
129 /* Define to 1 if mmalloc is compiled in. */
130 #cmakedefine HAVE_MMALLOC @HAVE_MMALLOC@
132 /* Define to 1 if mmap is available */
133 #cmakedefine HAVE_MMAP @HAVE_MMAP@
135 /* Define to 1 if you have the `getdtablesize' function. */
136 #cmakedefine HAVE_GETDTABLESIZE @HAVE_GETDTABLESIZE@
138 /* Define to 1 if you have the `gettimeofday' function. */
139 #cmakedefine HAVE_GETTIMEOFDAY @HAVE_GETTIMEOFDAY@
141 /* Define to 1 if you have the `clock_gettime' function. */
142 #cmakedefine HAVE_POSIX_GETTIME @HAVE_POSIX_GETTIME@
144 /* Indicates that we have GTNETS support */
145 #cmakedefine HAVE_GTNETS @HAVE_GTNETS@
147 /* Indicates that we have SMPI support */
148 #cmakedefine HAVE_SMPI @HAVE_SMPI@
150 /* Indicates that we have SMPI FORTRAN support */
151 #cmakedefine SMPI_FORTRAN @SMPI_FORTRAN@
153 /* Indicates that we have NS3 support */
154 #cmakedefine HAVE_NS3 @HAVE_NS3@
156 /* Define to 1 if you have the <inttypes.h> header file. */
157 #cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@
159 /* defines whether Lua bindings must be compiled or not */
160 #cmakedefine HAVE_LUA @HAVE_LUA@
162 /* Define to 1 if you have the <lua5.1/lualib.h> header file. */
163 #cmakedefine HAVE_LUA5_1_LUALIB_H @HAVE_LUA5_1_LUALIB_H@
165 /* Define to 1 if you have the `makecontext' function. */
166 #cmakedefine HAVE_MAKECONTEXT @HAVE_MAKECONTEXT@
168 /* Define to 1 if you have the <memory.h> header file. */
169 #cmakedefine HAVE_MEMORY_H @HAVE_MEMORY_H@
171 /* Define if pthread_mutex_timedlock() is avaible or not (part of XPG6
173 #cmakedefine HAVE_MUTEX_TIMEDLOCK @HAVE_MUTEX_TIMEDLOCK@
175 /* Define to 1 if you have the `popen' function. */
176 #cmakedefine HAVE_POPEN @HAVE_POPEN@
178 /* Define to 1 if you have the <pthread.h> header file. */
179 #cmakedefine HAVE_PTHREAD_H @HAVE_PTHREAD_H@
181 /* Define to 1 if you have the `readv' function. */
182 #cmakedefine HAVE_READV @HAVE_READV@
184 /* Define if sem_init() is avaible or not (part of XPG6 standard only) */
185 #cmakedefine HAVE_SEM_INIT @HAVE_SEM_INIT@
187 /* Define if sem_timedwait() is avaible or not (part of XPG6 standard only) */
188 #cmakedefine HAVE_SEM_TIMEDWAIT @HAVE_SEM_TIMEDWAIT@
190 /* Define to 1 if you have the `signal' function. */
191 #cmakedefine HAVE_SIGNAL @HAVE_SIGNAL@
193 /* Define to 1 if you have the <signal.h> header file. */
194 #cmakedefine HAVE_SIGNAL_H @HAVE_SIGNAL_H@
196 /* Define to 1 if you have the `snprintf' function. */
197 #cmakedefine HAVE_SNPRINTF @HAVE_SNPRINTF@
199 /* Define to 1 if you have the <stdint.h> header file. */
200 #cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@
202 /* Define to 1 if you have the <stdlib.h> header file. */
203 #cmakedefine HAVE_STDLIB_H @HAVE_STDLIB_H@
205 /* Define to 1 if you have the <strings.h> header file. */
206 #cmakedefine HAVE_STRINGS_H @HAVE_STRINGS_H@
208 /* Define to 1 if you have the <string.h> header file. */
209 #cmakedefine HAVE_STRING_H @HAVE_STRING_H@
211 /* Define to 1 if you have the `sysconf' function. */
212 #cmakedefine HAVE_SYSCONF @HAVE_SYSCONF@
214 /* Define to 1 if you have the <sys/socket.h> header file. */
215 #cmakedefine HAVE_SYS_SOCKET_H @HAVE_SYS_SOCKET_H@
217 /* Define to 1 if you have the <sys/stat.h> header file. */
218 #cmakedefine HAVE_SYS_STAT_H @HAVE_SYS_STAT_H@
220 /* Define to 1 if you have the <sys/time.h> header file. */
221 #cmakedefine HAVE_SYS_TIME_H @HAVE_SYS_TIME_H@
223 /* Define to 1 if you have the <sys/types.h> header file. */
224 #cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@
226 /* Define to 1 if you have the <unistd.h> header file. */
227 #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
229 /* Define to 1 if you have the `nanosleep' function. */
230 #cmakedefine HAVE_NANOSLEEP @HAVE_NANOSLEEP@
232 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
233 #cmakedefine HAVE_VALGRIND_VALGRIND_H @HAVE_VALGRIND_VALGRIND_H@
235 /* Define if va_copy() macro exists (and no fallback implementation is
237 #cmakedefine HAVE_VA_COPY @HAVE_VA_COPY@
239 /* Define to 1 if you have the `vsnprintf' function. */
240 #cmakedefine HAVE_VSNPRINTF @HAVE_VSNPRINTF@
242 /* Define to 1 if you have the <windows.h> header file. */
243 #cmakedefine HAVE_WINDOWS_H @HAVE_WINDOWS_H@
245 /* Define to 1 if you have the <winsock2.h> header file. */
246 #cmakedefine HAVE_WINSOCK2_H @HAVE_WINSOCK2_H@
248 /* Define to 1 if you have the <winsock.h> header file. */
249 #cmakedefine HAVE_WINSOCK_H @HAVE_WINSOCK_H@
251 /* Define to the sub-directory in which libtool stores uninstalled libraries.*/
252 #cmakedefine LT_OBJDIR @LT_OBJDIR@
254 /* enable the asprintf replacement */
255 #cmakedefine NEED_ASPRINTF @NEED_ASPRINTF@
257 /* enable the vasprintf replacement */
258 #cmakedefine NEED_VASPRINTF @NEED_VASPRINTF@
260 /* Name of package */
261 #cmakedefine PACKAGE @PACKAGE@
263 /* Define to the address where bug reports for this package should be sent. */
264 #cmakedefine PACKAGE_BUGREPORT @PACKAGE_BUGREPORT@
266 /* Define to the full name of this package. */
267 #cmakedefine PACKAGE_NAME @PACKAGE_NAME@
269 /* Define to the full name and version of this package. */
270 #cmakedefine PACKAGE_STRING @PACKAGE_STRING@
272 /* Define to the one symbol short name of this package. */
273 #cmakedefine PACKAGE_TARNAME @PACKAGE_TARNAME@
275 /* Define to the home page for this package. */
276 #cmakedefine PACKAGE_URL @PACKAGE_URL@
278 /* Define to the version of this package. */
279 #cmakedefine PACKAGE_VERSION @PACKAGE_VERSION@
281 /* "enable replacement (v)snprintf if system (v)snprintf is broken" */
282 #cmakedefine PREFER_PORTABLE_SNPRINTF @PREFER_PORTABLE_SNPRINTF@
284 /* Indicates whether printf("%s",NULL) works */
285 #cmakedefine PRINTF_NULL_WORKING @PRINTF_NULL_WORKING@
287 /* define for stack growth */
288 #cmakedefine PTH_STACKGROWTH @PTH_STACKGROWTH@
290 /* The maximal size of any scalar on this arch */
291 #cmakedefine SIZEOF_MAX @SIZEOF_MAX@
293 /* Define to 1 if you have the ANSI C header files. */
294 #cmakedefine STDC_HEADERS @STDC_HEADERS@
296 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
297 #cmakedefine TIME_WITH_SYS_TIME @TIME_WITH_SYS_TIME@
299 /* Tracing SimGrid */
300 #cmakedefine HAVE_TRACING @HAVE_TRACING@
302 /* Tracking of latency bound */
303 #cmakedefine HAVE_LATENCY_BOUND_TRACKING @HAVE_LATENCY_BOUND_TRACKING@
305 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
306 significant byte first (like Motorola and SPARC, unlike Intel). */
307 #if defined AC_APPLE_UNIVERSAL_BUILD
308 # if defined __BIG_ENDIAN__
309 # define WORDS_BIGENDIAN 1
312 # ifndef WORDS_BIGENDIAN
313 /* # undef WORDS_BIGENDIAN */
317 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
319 #cmakedefine YYTEXT_POINTER
321 /* Optional va_copy() implementation activation */
323 #define va_copy(d, s) __VA_COPY_USE(d, s)
325 /* Define to id of used va_copy() implementation */
326 #cmakedefine __VA_COPY_USE(d, s) @__VA_COPY_USE@
328 /* Define to empty if `const' does not conform to ANSI C. */
329 #cmakedefine const @const@
331 /* Define to `__inline__' or `__inline' if that's what the C compiler
332 calls it, or to nothing if 'inline' is not supported under any name. */
334 #cmakedefine inline @inline@
337 /* Define to `unsigned int' if <sys/types.h> does not define. */
338 #cmakedefine size_t @size_t@