1 // <root>/buildtools/Cmake/internal_config.h.in is user-written.
2 // With Cmake it creates <root>/src/internal_config.h
4 /* Set somes variables for Windows compilation */
11 #ifdef _XBT_DLL_STATIC
22 #cmakedefine SIZEOF_INT @SIZEOF_INT@
23 #cmakedefine SIZEOF_VOIDP @SIZEOF_VOIDP@
25 /* If __thread is available */
26 #cmakedefine HAVE_THREAD_LOCAL_STORAGE @HAVE_THREAD_LOCAL_STORAGE@
28 #ifndef __STRICT_ANSI__
29 #cmakedefine __STRICT_ANSI__ @__STRICT_ANSI__@
32 #cmakedefine _MSC_VER @_MSC_VER@
35 #cmakedefine _M_IX86 @_M_IX86@
37 #cmakedefine _XBT_WIN32 @_XBT_WIN32@ //this variable is set if it is a windows platform
38 #cmakedefine _WIN32 @_WIN32@ //this variable is set if it is a 32 bits windows platform
39 #cmakedefine _WIN64 @_WIN64@ //this variable is set if it is a 64 bits windows platform
40 #cmakedefine __VISUALC__ @__VISUALC__@
41 #cmakedefine __BORLANDC__ @__BORLANDC__@
42 #cmakedefine APPLE @APPLE@
45 #cmakedefine __GNUC__ @__GNUC__@
48 /* Set to true if enable_model-checking is true */
49 #cmakedefine MMALLOC_WANT_OVERRIDE_LEGACY @MMALLOC_WANT_OVERRIDE_LEGACY@
50 #cmakedefine HAVE_MC @HAVE_MC@
52 /* Set to true if have the mergesort function */
53 #cmakedefine HAVE_MERGESORT @HAVE_MERGESORT@
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 CONTEXT_THREADS @CONTEXT_THREADS@
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 CONTEXT_UCONTEXT @CONTEXT_UCONTEXT@
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_RAWCTX @HAVE_RAWCTX@
112 /* Define to 1 if you have the <dlfcn.h> header file. */
113 #cmakedefine HAVE_DLFCN_H @HAVE_DLFCN_H@
115 /* Define to 1 if you have the <errno.h> header file. */
116 #cmakedefine HAVE_ERRNO_H @HAVE_ERRNO_H@
118 /* Define to 1 if you have the <execinfo.h> header file. */
119 #cmakedefine HAVE_EXECINFO_H @HAVE_EXECINFO_H@
121 /* Define to 1 if you have the `mmap' function. */
122 #cmakedefine HAVE_MMAP @HAVE_MMAP@
124 /* Define to 1 if you have the `getdtablesize' function. */
125 #cmakedefine HAVE_GETDTABLESIZE @HAVE_GETDTABLESIZE@
127 /* Define to 1 if you have the `gettimeofday' function. */
128 #cmakedefine HAVE_GETTIMEOFDAY @HAVE_GETTIMEOFDAY@
130 /* Define to 1 if you have the `clock_gettime' function. */
131 #cmakedefine HAVE_POSIX_GETTIME @HAVE_POSIX_GETTIME@
133 /* Indicates that we have GTNETS support */
134 #cmakedefine HAVE_GTNETS @HAVE_GTNETS@
136 /* Indicates that we have SMPI support */
137 #cmakedefine HAVE_SMPI @HAVE_SMPI@
139 /* Indicates that we have SMPI F2C support */
140 #cmakedefine SMPI_F2C @SMPI_F2C@
142 /* Indicates that we have NS3 support */
143 #cmakedefine HAVE_NS3 @HAVE_NS3@
145 /* Define to 1 if you have the <inttypes.h> header file. */
146 #cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@
148 /* defines whether Lua bindings must be compiled or not */
149 #cmakedefine HAVE_LUA @HAVE_LUA@
151 /* Define to 1 if you have the <lua5.1/lualib.h> header file. */
152 #cmakedefine HAVE_LUA5_1_LUALIB_H @HAVE_LUA5_1_LUALIB_H@
154 /* Define to 1 if you have the `makecontext' function. */
155 #cmakedefine HAVE_MAKECONTEXT @HAVE_MAKECONTEXT@
157 /* Define to 1 if you have the <memory.h> header file. */
158 #cmakedefine HAVE_MEMORY_H @HAVE_MEMORY_H@
160 /* Define if pthread_mutex_timedlock() is avaible or not (part of XPG6
162 #cmakedefine HAVE_MUTEX_TIMEDLOCK @HAVE_MUTEX_TIMEDLOCK@
164 /* Define to 1 if you have the `popen' function. */
165 #cmakedefine HAVE_POPEN @HAVE_POPEN@
167 /* Define to 1 if you have the <pthread.h> header file. */
168 #cmakedefine HAVE_PTHREAD_H @HAVE_PTHREAD_H@
170 /* Define to 1 if you have the `readv' function. */
171 #cmakedefine HAVE_READV @HAVE_READV@
173 /* Define if sem_init() is avaible or not (part of XPG6 standard only) */
174 #cmakedefine HAVE_SEM_INIT @HAVE_SEM_INIT@
176 /* Define if sem_timedwait() is avaible or not (part of XPG6 standard only) */
177 #cmakedefine HAVE_SEM_TIMEDWAIT @HAVE_SEM_TIMEDWAIT@
179 /* Define to 1 if you have the `signal' function. */
180 #cmakedefine HAVE_SIGNAL @HAVE_SIGNAL@
182 /* Define to 1 if you have the <signal.h> header file. */
183 #cmakedefine HAVE_SIGNAL_H @HAVE_SIGNAL_H@
185 /* Define to 1 if you have the `snprintf' function. */
186 #cmakedefine HAVE_SNPRINTF @HAVE_SNPRINTF@
188 /* Define to 1 if you have the <stdint.h> header file. */
189 #cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@
191 /* Define to 1 if you have the <stdlib.h> header file. */
192 #cmakedefine HAVE_STDLIB_H @HAVE_STDLIB_H@
194 /* Define to 1 if you have the <strings.h> header file. */
195 #cmakedefine HAVE_STRINGS_H @HAVE_STRINGS_H@
197 /* Define to 1 if you have the <string.h> header file. */
198 #cmakedefine HAVE_STRING_H @HAVE_STRING_H@
200 /* Define to 1 if you have the `sysconf' function. */
201 #cmakedefine HAVE_SYSCONF @HAVE_SYSCONF@
203 /* Define to 1 if you have the <sys/socket.h> header file. */
204 #cmakedefine HAVE_SYS_SOCKET_H @HAVE_SYS_SOCKET_H@
206 /* Define to 1 if you have the <sys/stat.h> header file. */
207 #cmakedefine HAVE_SYS_STAT_H @HAVE_SYS_STAT_H@
209 /* Define to 1 if you have the <sys/time.h> header file. */
210 #cmakedefine HAVE_SYS_TIME_H @HAVE_SYS_TIME_H@
212 /* Define to 1 if you have the <sys/types.h> header file. */
213 #cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@
215 /* Define to 1 if you have the <unistd.h> header file. */
216 #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
218 /* Define to 1 if you have the `nanosleep' function. */
219 #cmakedefine HAVE_NANOSLEEP @HAVE_NANOSLEEP@
221 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
222 #cmakedefine HAVE_VALGRIND_VALGRIND_H @HAVE_VALGRIND_VALGRIND_H@
224 /* Define if va_copy() macro exists (and no fallback implementation is
226 #cmakedefine HAVE_VA_COPY @HAVE_VA_COPY@
228 /* Define to 1 if you have the `vsnprintf' function. */
229 #cmakedefine HAVE_VSNPRINTF @HAVE_VSNPRINTF@
231 /* Define to 1 if you have the <windows.h> header file. */
232 #cmakedefine HAVE_WINDOWS_H @HAVE_WINDOWS_H@
234 /* Define to 1 if you have the <winsock2.h> header file. */
235 #cmakedefine HAVE_WINSOCK2_H @HAVE_WINSOCK2_H@
237 /* Define to 1 if you have the <winsock.h> header file. */
238 #cmakedefine HAVE_WINSOCK_H @HAVE_WINSOCK_H@
240 /* Define to the sub-directory in which libtool stores uninstalled libraries.*/
241 #cmakedefine LT_OBJDIR @LT_OBJDIR@
243 /* enable the asprintf replacement */
244 #cmakedefine NEED_ASPRINTF @NEED_ASPRINTF@
246 /* enable the vasprintf replacement */
247 #cmakedefine NEED_VASPRINTF @NEED_VASPRINTF@
249 /* Name of package */
250 #cmakedefine PACKAGE @PACKAGE@
252 /* Define to the address where bug reports for this package should be sent. */
253 #cmakedefine PACKAGE_BUGREPORT @PACKAGE_BUGREPORT@
255 /* Define to the full name of this package. */
256 #cmakedefine PACKAGE_NAME @PACKAGE_NAME@
258 /* Define to the full name and version of this package. */
259 #cmakedefine PACKAGE_STRING @PACKAGE_STRING@
261 /* Define to the one symbol short name of this package. */
262 #cmakedefine PACKAGE_TARNAME @PACKAGE_TARNAME@
264 /* Define to the home page for this package. */
265 #cmakedefine PACKAGE_URL @PACKAGE_URL@
267 /* Define to the version of this package. */
268 #cmakedefine PACKAGE_VERSION @PACKAGE_VERSION@
270 /* "enable replacement (v)snprintf if system (v)snprintf is broken" */
271 #cmakedefine PREFER_PORTABLE_SNPRINTF @PREFER_PORTABLE_SNPRINTF@
273 /* Indicates whether printf("%s",NULL) works */
274 #cmakedefine PRINTF_NULL_WORKING @PRINTF_NULL_WORKING@
276 /* define for stack growth */
277 #cmakedefine PTH_STACKGROWTH @PTH_STACKGROWTH@
279 /* enable the getline replacement */
280 #cmakedefine SIMGRID_NEED_GETLINE @SIMGRID_NEED_GETLINE@
282 /* The maximal size of any scalar on this arch */
283 #cmakedefine SIZEOF_MAX @SIZEOF_MAX@
285 /* Define to 1 if you have the ANSI C header files. */
286 #cmakedefine STDC_HEADERS @STDC_HEADERS@
288 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
289 #cmakedefine TIME_WITH_SYS_TIME @TIME_WITH_SYS_TIME@
291 /* Version number of package */
292 #cmakedefine VERSION @VERSION@
294 /* Tracing SimGrid */
295 #cmakedefine HAVE_TRACING @HAVE_TRACING@
297 /* Tracking of latency bound */
298 #cmakedefine HAVE_LATENCY_BOUND_TRACKING @HAVE_LATENCY_BOUND_TRACKING@
300 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
301 significant byte first (like Motorola and SPARC, unlike Intel). */
302 #if defined AC_APPLE_UNIVERSAL_BUILD
303 # if defined __BIG_ENDIAN__
304 # define WORDS_BIGENDIAN 1
307 # ifndef WORDS_BIGENDIAN
308 /* # undef WORDS_BIGENDIAN */
312 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
314 #cmakedefine YYTEXT_POINTER
316 /* Optional va_copy() implementation activation */
318 #define va_copy(d, s) __VA_COPY_USE(d, s)
320 /* Define to id of used va_copy() implementation */
321 #cmakedefine __VA_COPY_USE(d, s) @__VA_COPY_USE@
323 /* Define to empty if `const' does not conform to ANSI C. */
324 #cmakedefine const @const@
326 /* Define to `__inline__' or `__inline' if that's what the C compiler
327 calls it, or to nothing if 'inline' is not supported under any name. */
329 #cmakedefine inline @inline@
332 /* Define to `unsigned int' if <sys/types.h> does not define. */
333 #cmakedefine size_t @size_t@