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 #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__@
57 /* Set to true if enable_model-checking is true */
58 #cmakedefine MMALLOC_WANT_OVERRIDE_LEGACY @MMALLOC_WANT_OVERRIDE_LEGACY@
59 #cmakedefine HAVE_MC @HAVE_MC@
61 /* If have linux_futex.h */
62 #cmakedefine HAVE_FUTEX_H @HAVE_FUTEX_H@
64 /* Some variable for libsigc++ */
65 #cmakedefine HAVE_LIBSIGC @HAVE_LIBSIGC++@
67 /* Some variable for graphviz */
68 #cmakedefine HAVE_GRAPHVIZ @HAVE_GRAPHVIZ@
69 #cmakedefine HAVE_GRAPH_H @GRAPH_H@
70 #cmakedefine HAVE_CGRAPH_H @CGRAPH_H@
71 #cmakedefine HAVE_AGRAPH_H @AGRAPH_H@
73 /* Define if building universal (internal helper macro) */
74 #cmakedefine AC_APPLE_UNIVERSAL_BUILD @AC_APPLE_UNIVERSAL_BUILD@
76 /* Arguments passed to the configure script */
77 #cmakedefine AC_CONFIGURE_ARGS @AC_CONFIGURE_ARGS@
79 /* Path to the addr2line tool */
80 #cmakedefine ADDR2LINE "@ADDR2LINE@"
82 /* Predefined possible va_copy() implementation (id: ASP) */
83 #cmakedefine __VA_COPY_USE_ASP(d, s) @__VA_COPY_USE_ASP@
85 /* Predefined possible va_copy() implementation (id: ASS) */
86 #cmakedefine __VA_COPY_USE_ASS(d, s) @__VA_COPY_USE_ASS@
88 /* Predefined possible va_copy() implementation (id: C99) */
89 #cmakedefine __VA_COPY_USE_C99(d, s) @__VA_COPY_USE_C99@
91 /* Define if xbt contexts are based on our threads implementation or not */
92 #cmakedefine CONTEXT_THREADS @CONTEXT_THREADS@
94 /* Define to 1 if you have the <ucontext.h> header file. */
95 #cmakedefine HAVE_UCONTEXT_H @HAVE_UCONTEXT_H@
97 /* Define if xbt contexts are based on ucontext or not */
98 #cmakedefine CONTEXT_UCONTEXT @CONTEXT_UCONTEXT@
100 /* Predefined possible va_copy() implementation (id: CPP) */
101 #cmakedefine __VA_COPY_USE_CPP(d, s) @__VA_COPY_USE_CPP@
103 /* Predefined possible va_copy() implementation (id: CPS) */
104 #cmakedefine __VA_COPY_USE_CPS(d, s) @__VA_COPY_USE_CPS@
106 /* Predefined possible va_copy() implementation (id: GCB) */
107 #cmakedefine __VA_COPY_USE_GCB(d, s) @__VA_COPY_USE_GCB@
109 /* Predefined possible va_copy() implementation (id: GCH) */
110 #cmakedefine __VA_COPY_USE_GCH(d, s) @__VA_COPY_USE_GCH@
112 /* Predefined possible va_copy() implementation (id: GCM) */
113 #cmakedefine __VA_COPY_USE_GCM(d, s) @__VA_COPY_USE_GCM@
115 /* Used to select the flavor of assembly that we need today */
116 #cmakedefine PROCESSOR_i686 @PROCESSOR_i686@
117 #cmakedefine PROCESSOR_x86_64 @PROCESSOR_x86_64@
118 #cmakedefine CMAKE_SYSTEM_PROCESSOR @CMAKE_SYSTEM_PROCESSOR@
119 #cmakedefine HAVE_RAWCTX @HAVE_RAWCTX@
120 #cmakedefine HAVE_BOOST_CONTEXT @HAVE_BOOST_CONTEXT@
122 /* Define to 1 if you have the GNU ld library */
123 #cmakedefine HAVE_GNU_LD @HAVE_GNU_LD@
125 /* Define to 1 if you have the <errno.h> header file. */
126 #cmakedefine HAVE_ERRNO_H @HAVE_ERRNO_H@
128 /* Define to 1 if you have the <execinfo.h> header file. */
129 #cmakedefine HAVE_EXECINFO_H @HAVE_EXECINFO_H@
131 /* Define to 1 if mmalloc is compiled in. */
132 #cmakedefine HAVE_MMALLOC @HAVE_MMALLOC@
134 /* Define to 1 if mmap is available */
135 #cmakedefine HAVE_MMAP @HAVE_MMAP@
137 /* Define to 1 if process_vm_readv is available */
138 #cmakedefine HAVE_PROCESS_VM_READV @HAVE_PROCESS_VM_READV@
140 /* Define to 1 if you have the `getdtablesize' function. */
141 #cmakedefine HAVE_GETDTABLESIZE @HAVE_GETDTABLESIZE@
143 /* Define to 1 if you have the `gettimeofday' function. */
144 #cmakedefine HAVE_GETTIMEOFDAY @HAVE_GETTIMEOFDAY@
146 /* Define to 1 if you have the `clock_gettime' function. */
147 #cmakedefine HAVE_POSIX_GETTIME @HAVE_POSIX_GETTIME@
149 /* Indicates that we have SMPI support */
150 #cmakedefine HAVE_SMPI @HAVE_SMPI@
152 /* Indicates that we have SMPI FORTRAN support */
153 #cmakedefine SMPI_FORTRAN @SMPI_FORTRAN@
155 /* We have mmap and objdump to handle privatization */
156 #cmakedefine HAVE_PRIVATIZATION @HAVE_PRIVATIZATION@
158 /* Indicates that we have NS3 support */
159 #cmakedefine HAVE_NS3 @HAVE_NS3@
161 /* Define to 1 if you have the <inttypes.h> header file. */
162 #cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@
164 /* defines whether Lua bindings must be compiled or not */
165 #cmakedefine HAVE_LUA @HAVE_LUA@
167 /* Define to 1 if you have the <lua5.1/lualib.h> header file. */
168 #cmakedefine HAVE_LUA5_1_LUALIB_H @HAVE_LUA5_1_LUALIB_H@
170 /* Define to 1 if you have the `makecontext' function. */
171 #cmakedefine HAVE_MAKECONTEXT @HAVE_MAKECONTEXT@
173 /* Define to 1 if you have the <memory.h> header file. */
174 #cmakedefine HAVE_MEMORY_H @HAVE_MEMORY_H@
176 /* Define if pthread_mutex_timedlock() is avaible or not (part of XPG6
178 #cmakedefine HAVE_MUTEX_TIMEDLOCK @HAVE_MUTEX_TIMEDLOCK@
180 /* Define to 1 if you have the `popen' function. */
181 #cmakedefine HAVE_POPEN @HAVE_POPEN@
183 /* Define to 1 if you have the <pthread.h> header file. */
184 #cmakedefine HAVE_PTHREAD_H @HAVE_PTHREAD_H@
186 /* Define to 1 if you have the `readv' function. */
187 #cmakedefine HAVE_READV @HAVE_READV@
189 /* Define if sem_init() is avaible or not (part of XPG6 standard only) */
190 #cmakedefine HAVE_SEM_INIT @HAVE_SEM_INIT@
192 /* Define if sem_timedwait() is avaible or not (part of XPG6 standard only) */
193 #cmakedefine HAVE_SEM_TIMEDWAIT @HAVE_SEM_TIMEDWAIT@
195 /* Define to 1 if you have the `signal' function. */
196 #cmakedefine HAVE_SIGNAL @HAVE_SIGNAL@
198 /* Define to 1 if you have the <signal.h> header file. */
199 #cmakedefine HAVE_SIGNAL_H @HAVE_SIGNAL_H@
201 /* Define to 1 if you have the `snprintf' function. */
202 #cmakedefine HAVE_SNPRINTF @HAVE_SNPRINTF@
204 /* Define to 1 if you have the <stdint.h> header file. */
205 #cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@
207 /* Define to 1 if you have the <stdlib.h> header file. */
208 #cmakedefine HAVE_STDLIB_H @HAVE_STDLIB_H@
210 /* Define to 1 if you have the <strings.h> header file. */
211 #cmakedefine HAVE_STRINGS_H @HAVE_STRINGS_H@
213 /* Define to 1 if you have the <string.h> header file. */
214 #cmakedefine HAVE_STRING_H @HAVE_STRING_H@
216 /* Define to 1 if you have the `sysconf' function. */
217 #cmakedefine HAVE_SYSCONF @HAVE_SYSCONF@
219 /* Define to 1 if you have the <sys/socket.h> header file. */
220 #cmakedefine HAVE_SYS_SOCKET_H @HAVE_SYS_SOCKET_H@
222 /* Define to 1 if you have the <sys/stat.h> header file. */
223 #cmakedefine HAVE_SYS_STAT_H @HAVE_SYS_STAT_H@
225 /* Define to 1 if you have the <sys/time.h> header file. */
226 #cmakedefine HAVE_SYS_TIME_H @HAVE_SYS_TIME_H@
228 /* Define to 1 if you have the <sys/types.h> header file. */
229 #cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@
231 /* Define to 1 if you have the <unistd.h> header file. */
232 #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
234 /* Define to 1 if you have the `nanosleep' function. */
235 #cmakedefine HAVE_NANOSLEEP @HAVE_NANOSLEEP@
237 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
238 #cmakedefine HAVE_VALGRIND_VALGRIND_H @HAVE_VALGRIND_VALGRIND_H@
240 /* Define if va_copy() macro exists (and no fallback implementation is
242 #cmakedefine HAVE_VA_COPY @HAVE_VA_COPY@
244 /* Define to 1 if you have the `vsnprintf' function. */
245 #cmakedefine HAVE_VSNPRINTF @HAVE_VSNPRINTF@
247 /* Define to 1 if you have the <windows.h> header file. */
248 #cmakedefine HAVE_WINDOWS_H @HAVE_WINDOWS_H@
250 /* Define to 1 if you have the <winsock2.h> header file. */
251 #cmakedefine HAVE_WINSOCK2_H @HAVE_WINSOCK2_H@
253 /* Define to 1 if you have the <winsock.h> header file. */
254 #cmakedefine HAVE_WINSOCK_H @HAVE_WINSOCK_H@
256 /* Define to the sub-directory in which libtool stores uninstalled libraries.*/
257 #cmakedefine LT_OBJDIR @LT_OBJDIR@
259 /* enable the asprintf replacement */
260 #cmakedefine NEED_ASPRINTF @NEED_ASPRINTF@
262 /* enable the vasprintf replacement */
263 #cmakedefine NEED_VASPRINTF @NEED_VASPRINTF@
265 /* Name of package */
266 #cmakedefine PACKAGE @PACKAGE@
268 /* Define to the address where bug reports for this package should be sent. */
269 #cmakedefine PACKAGE_BUGREPORT @PACKAGE_BUGREPORT@
271 /* Define to the full name of this package. */
272 #cmakedefine PACKAGE_NAME @PACKAGE_NAME@
274 /* Define to the full name and version of this package. */
275 #cmakedefine PACKAGE_STRING @PACKAGE_STRING@
277 /* Define to the one symbol short name of this package. */
278 #cmakedefine PACKAGE_TARNAME @PACKAGE_TARNAME@
280 /* Define to the home page for this package. */
281 #cmakedefine PACKAGE_URL @PACKAGE_URL@
283 /* Define to the version of this package. */
284 #cmakedefine PACKAGE_VERSION @PACKAGE_VERSION@
286 /* "enable replacement (v)snprintf if system (v)snprintf is broken" */
287 #cmakedefine PREFER_PORTABLE_SNPRINTF @PREFER_PORTABLE_SNPRINTF@
289 /* define for stack growth */
290 #cmakedefine PTH_STACKGROWTH @PTH_STACKGROWTH@
292 /* The maximal size of any scalar on this arch */
293 #cmakedefine SIZEOF_MAX @SIZEOF_MAX@
295 /* Define to 1 if you have the ANSI C header files. */
296 #cmakedefine STDC_HEADERS @STDC_HEADERS@
298 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
299 #cmakedefine TIME_WITH_SYS_TIME @TIME_WITH_SYS_TIME@
301 /* Tracking of latency bound */
302 #cmakedefine HAVE_LATENCY_BOUND_TRACKING @HAVE_LATENCY_BOUND_TRACKING@
304 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
305 significant byte first (like Motorola and SPARC, unlike Intel). */
306 #if defined AC_APPLE_UNIVERSAL_BUILD
307 # if defined __BIG_ENDIAN__
308 # define WORDS_BIGENDIAN 1
311 # ifndef WORDS_BIGENDIAN
312 /* # undef WORDS_BIGENDIAN */
316 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
318 #cmakedefine YYTEXT_POINTER
320 /* Optional va_copy() implementation activation */
322 #define va_copy(d, s) __VA_COPY_USE(d, s)
324 /* Define to id of used va_copy() implementation */
325 #cmakedefine __VA_COPY_USE(d, s) @__VA_COPY_USE@
327 /* Define to empty if `const' does not conform to ANSI C. */
328 #cmakedefine const @const@
330 /* Define to `__inline__' or `__inline' if that's what the C compiler
331 calls it, or to nothing if 'inline' is not supported under any name. */
333 #cmakedefine inline @inline@
336 /* Define to `unsigned int' if <sys/types.h> does not define. */
337 #cmakedefine size_t @size_t@