Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add headers and doc to win package.
[simgrid.git] / buildtools / Cmake / gras_config.h.in
1 // <root>/buildtools/Cmake/gras_config.h.in is user-written.
2 // With Cmake it creates <root>/src/gras_config.h
3
4 /* Set somes variables for Windows compilation */
5
6 #ifdef _XBT_DLL_EXPORT
7         #define DLL_EXPORT
8 #else
9         #ifdef _XBT_DLL_STATIC
10                 #define DLL_STATIC
11         #else
12                 #define DLL_IMPORT
13         #endif
14 #endif
15
16 #cmakedefine SIZEOF_INT @SIZEOF_INT@
17 #cmakedefine SIZEOF_VOIDP @SIZEOF_VOIDP@
18
19 /* If __thread is available */
20 #cmakedefine HAVE_THREAD_LOCAL_STORAGE @HAVE_THREAD_LOCAL_STORAGE@
21
22 #ifndef __STRICT_ANSI__
23         #cmakedefine __STRICT_ANSI__ @__STRICT_ANSI__@
24 #endif
25 #ifndef _MSC_VER
26         #cmakedefine _MSC_VER @_MSC_VER@
27 #endif
28 #ifndef _M_IX86
29         #cmakedefine _M_IX86 @_M_IX86@
30 #endif
31 #cmakedefine _XBT_WIN32 @_XBT_WIN32@    //this variable is set if it is a windows platform
32 #cmakedefine _WIN32 @_WIN32@                    //this variable is set if it is a 32 bits windows platform
33 #cmakedefine _WIN64 @_WIN64@                    //this variable is set if it is a 64 bits  windows platform
34 #cmakedefine __VISUALC__ @__VISUALC__@
35 #cmakedefine __BORLANDC__ @__BORLANDC__@
36 #cmakedefine APPLE @APPLE@
37 #ifdef _XBT_WIN32
38         #ifndef __GNUC__
39                 #cmakedefine __GNUC__ @__GNUC__@
40         #endif
41 #endif
42 /* Set to true if enable_model-checking is true */
43 #cmakedefine MMALLOC_WANT_OVERIDE_LEGACY @MMALLOC_WANT_OVERIDE_LEGACY@
44 #cmakedefine HAVE_MC @HAVE_MC@
45
46 /* Set to true if have the mergesort function */
47 #cmakedefine HAVE_MERGESORT @HAVE_MERGESORT@
48
49 /* Set to true if lib pcre is present */
50 #cmakedefine HAVE_PCRE_LIB @HAVE_PCRE_LIB@
51
52 /* If have linux_futex.h */
53 #cmakedefine HAVE_FUTEX_H @HAVE_FUTEX_H@
54
55 /* Some variable for graphviz */
56 #cmakedefine HAVE_GRAPH_H @GRAPH_H@
57 #cmakedefine HAVE_CGRAPH_H @CGRAPH_H@
58 #cmakedefine HAVE_AGRAPH_H @AGRAPH_H@
59
60 /* Define if building universal (internal helper macro) */
61 #cmakedefine AC_APPLE_UNIVERSAL_BUILD @AC_APPLE_UNIVERSAL_BUILD@
62
63 /* Arguments passed to the configure script */
64 #cmakedefine AC_CONFIGURE_ARGS @AC_CONFIGURE_ARGS@
65
66 /* Path to the addr2line tool */
67 #cmakedefine ADDR2LINE "@ADDR2LINE@"
68
69 /* Predefined possible va_copy() implementation (id: ASP) */
70 #cmakedefine __VA_COPY_USE_ASP(d, s) @__VA_COPY_USE_ASP@
71
72 /* Predefined possible va_copy() implementation (id: ASS) */
73 #cmakedefine __VA_COPY_USE_ASS(d, s) @__VA_COPY_USE_ASS@
74
75 /* Predefined possible va_copy() implementation (id: C99) */
76 #cmakedefine __VA_COPY_USE_C99(d, s) @__VA_COPY_USE_C99@
77
78 /* Define if xbt contexts are based on our threads implementation or not */
79 #cmakedefine CONTEXT_THREADS @CONTEXT_THREADS@
80
81 /* Define to 1 if you have the <ucontext.h> header file. */
82 #cmakedefine HAVE_UCONTEXT_H @HAVE_UCONTEXT_H@
83
84 /* Define if xbt contexts are based on ucontext or not */
85 #cmakedefine CONTEXT_UCONTEXT @CONTEXT_UCONTEXT@
86
87 /* Predefined possible va_copy() implementation (id: CPP) */
88 #cmakedefine __VA_COPY_USE_CPP(d, s) @__VA_COPY_USE_CPP@
89
90 /* Predefined possible va_copy() implementation (id: CPS) */
91 #cmakedefine __VA_COPY_USE_CPS(d, s) @__VA_COPY_USE_CPS@
92
93 /* Predefined possible va_copy() implementation (id: GCB) */
94 #cmakedefine __VA_COPY_USE_GCB(d, s) @__VA_COPY_USE_GCB@
95
96 /* Predefined possible va_copy() implementation (id: GCH) */
97 #cmakedefine __VA_COPY_USE_GCH(d, s) @__VA_COPY_USE_GCH@
98
99 /* Predefined possible va_copy() implementation (id: GCM) */
100 #cmakedefine __VA_COPY_USE_GCM(d, s) @__VA_COPY_USE_GCM@
101
102 /* Used to select the flavor of assembly that we need today */
103 #cmakedefine PROCESSOR_i686 @PROCESSOR_i686@
104 #cmakedefine PROCESSOR_x86_64 @PROCESSOR_x86_64@
105 #cmakedefine CMAKE_SYSTEM_PROCESSOR @CMAKE_SYSTEM_PROCESSOR@
106
107 /* Defined if arrays in struct can straddle struct alignment boundaries. This
108    is like than the structure compaction above, but this time, the argument to
109    be compacted is an array whom each element would be normally compacted.
110    Exemple: struct s { double d; int i; char c[6]; }; Arrays can straddle if c
111    is allowed to come just after i. Note that GRAS only support architecture
112    presenting this caracteristic so far. */
113 #cmakedefine GRAS_ARRAY_STRADDLE_STRUCT @GRAS_ARRAY_STRADDLE_STRUCT@
114
115 /* define if big endian */
116 #define GRAS_BIGENDIAN @GRAS_BIGENDIAN@
117
118 /* Defined if structures are compacted when possible. Consider this structure:
119    struct s {double d; int i; char c;}; If it is allowed, the char is placed
120    just after the int. If not, it has to be on the 8 bytes boundary imposed by
121    the double. For now, GRAS requires the structures to be compacted. */
122 #cmakedefine GRAS_STRUCT_COMPACT @GRAS_STRUCT_COMPACT@
123
124 /* defines the GRAS architecture signature of this machine */
125 #define GRAS_THISARCH @GRAS_THISARCH@
126
127 /* Define to 1 if you have the <dlfcn.h> header file. */
128 #cmakedefine HAVE_DLFCN_H @HAVE_DLFCN_H@
129
130 /* Define to 1 if you have the <errno.h> header file. */
131 #cmakedefine HAVE_ERRNO_H @HAVE_ERRNO_H@
132
133 /* Define to 1 if you have the <execinfo.h> header file. */
134 #cmakedefine HAVE_EXECINFO_H @HAVE_EXECINFO_H@
135
136 /* Define to 1 if you have the `mmap' function. */
137 #cmakedefine HAVE_MMAP @HAVE_MMAP@
138
139 /* Define to 1 if you have the `getdtablesize' function. */
140 #cmakedefine HAVE_GETDTABLESIZE @HAVE_GETDTABLESIZE@
141
142 /* Define to 1 if you have the `gettimeofday' function. */
143 #cmakedefine HAVE_GETTIMEOFDAY @HAVE_GETTIMEOFDAY@
144
145 /* Define to 1 if you have the `clock_gettime' function. */
146 #cmakedefine HAVE_POSIX_GETTIME @HAVE_POSIX_GETTIME@
147
148 /* Indicates that we have GTNETS support */
149 #cmakedefine HAVE_GTNETS @HAVE_GTNETS@
150
151 /* Indicates that we have NS3 support */
152 #cmakedefine HAVE_NS3 @HAVE_NS3@
153
154 /* Define to 1 if you have the <inttypes.h> header file. */
155 #cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@
156
157 /* defines whether Lua bindings must be compiled or not */
158 #cmakedefine HAVE_LUA @HAVE_LUA@
159
160 /* Define to 1 if you have the <lua5.1/lualib.h> header file. */
161 #cmakedefine HAVE_LUA5_1_LUALIB_H @HAVE_LUA5_1_LUALIB_H@
162
163 /* Define to 1 if you have the `makecontext' function. */
164 #cmakedefine HAVE_MAKECONTEXT @HAVE_MAKECONTEXT@
165
166 /* Define to 1 if you have the <memory.h> header file. */
167 #cmakedefine HAVE_MEMORY_H @HAVE_MEMORY_H@
168
169 /* Define if pthread_mutex_timedlock() is avaible or not (part of XPG6
170    standard only?) */
171 #cmakedefine HAVE_MUTEX_TIMEDLOCK @HAVE_MUTEX_TIMEDLOCK@
172
173 /* Define to 1 if you have the `popen' function. */
174 #cmakedefine HAVE_POPEN @HAVE_POPEN@
175
176 /* Define to 1 if you have the <pthread.h> header file. */
177 #cmakedefine HAVE_PTHREAD_H @HAVE_PTHREAD_H@
178
179 /* Define to 1 if you have the `readv' function. */
180 #cmakedefine HAVE_READV @HAVE_READV@
181
182 /* Define if sem_init() is avaible or not (part of XPG6 standard only) */
183 #cmakedefine HAVE_SEM_INIT @HAVE_SEM_INIT@
184
185 /* Define if sem_timedwait() is avaible or not (part of XPG6 standard only) */
186 #cmakedefine HAVE_SEM_TIMEDWAIT @HAVE_SEM_TIMEDWAIT@
187
188 /* Define to 1 if you have the `signal' function. */
189 #cmakedefine HAVE_SIGNAL @HAVE_SIGNAL@
190
191 /* Define to 1 if you have the <signal.h> header file. */
192 #cmakedefine HAVE_SIGNAL_H @HAVE_SIGNAL_H@
193
194 /* Define to 1 if you have the `snprintf' function. */
195 #cmakedefine HAVE_SNPRINTF @HAVE_SNPRINTF@
196
197 /* Define to 1 if you have the <stdint.h> header file. */
198 #cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@
199
200 /* Define to 1 if you have the <stdlib.h> header file. */
201 #cmakedefine HAVE_STDLIB_H @HAVE_STDLIB_H@
202
203 /* Define to 1 if you have the <strings.h> header file. */
204 #cmakedefine HAVE_STRINGS_H @HAVE_STRINGS_H@
205
206 /* Define to 1 if you have the <string.h> header file. */
207 #cmakedefine HAVE_STRING_H @HAVE_STRING_H@
208
209 /* Define to 1 if you have the `sysconf' function. */
210 #cmakedefine HAVE_SYSCONF @HAVE_SYSCONF@
211
212 /* Define to 1 if you have the <sys/socket.h> header file. */
213 #cmakedefine HAVE_SYS_SOCKET_H @HAVE_SYS_SOCKET_H@
214
215 /* Define to 1 if you have the <sys/stat.h> header file. */
216 #cmakedefine HAVE_SYS_STAT_H @HAVE_SYS_STAT_H@
217
218 /* Define to 1 if you have the <sys/time.h> header file. */
219 #cmakedefine HAVE_SYS_TIME_H @HAVE_SYS_TIME_H@
220
221 /* Define to 1 if you have the <sys/types.h> header file. */
222 #cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@
223
224 /* Define to 1 if you have the <unistd.h> header file. */
225 #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
226
227 /* Define to 1 if you have the `usleep' function. */
228 #cmakedefine HAVE_USLEEP @HAVE_USLEEP@
229
230 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
231 #cmakedefine HAVE_VALGRIND_VALGRIND_H @HAVE_VALGRIND_VALGRIND_H@
232
233 /* Define if va_copy() macro exists (and no fallback implementation is
234    required) */
235 #cmakedefine HAVE_VA_COPY @HAVE_VA_COPY@
236
237 /* Define to 1 if you have the `vsnprintf' function. */
238 #cmakedefine HAVE_VSNPRINTF @HAVE_VSNPRINTF@
239
240 /* Define to 1 if you have the <windows.h> header file. */
241 #cmakedefine HAVE_WINDOWS_H @HAVE_WINDOWS_H@
242
243 /* Define to 1 if you have the <winsock2.h> header file. */
244 #cmakedefine HAVE_WINSOCK2_H @HAVE_WINSOCK2_H@
245
246 /* Define to 1 if you have the <winsock.h> header file. */
247 #cmakedefine HAVE_WINSOCK_H @HAVE_WINSOCK_H@
248
249 /* Define to the sub-directory in which libtool stores uninstalled libraries.*/
250 #cmakedefine LT_OBJDIR @LT_OBJDIR@
251
252 /* enable the asprintf replacement */
253 #cmakedefine NEED_ASPRINTF @NEED_ASPRINTF@
254
255 /* enable the vasprintf replacement */
256 #cmakedefine NEED_VASPRINTF @NEED_VASPRINTF@
257
258 /* Name of package */
259 #cmakedefine PACKAGE @PACKAGE@
260
261 /* Define to the address where bug reports for this package should be sent. */
262 #cmakedefine PACKAGE_BUGREPORT @PACKAGE_BUGREPORT@ 
263
264 /* Define to the full name of this package. */
265 #cmakedefine PACKAGE_NAME @PACKAGE_NAME@
266
267 /* Define to the full name and version of this package. */
268 #cmakedefine PACKAGE_STRING @PACKAGE_STRING@
269
270 /* Define to the one symbol short name of this package. */
271 #cmakedefine PACKAGE_TARNAME @PACKAGE_TARNAME@
272
273 /* Define to the home page for this package. */
274 #cmakedefine PACKAGE_URL @PACKAGE_URL@
275
276 /* Define to the version of this package. */
277 #cmakedefine PACKAGE_VERSION @PACKAGE_VERSION@
278
279 /* "enable replacement (v)snprintf if system (v)snprintf is broken" */
280 #cmakedefine PREFER_PORTABLE_SNPRINTF @PREFER_PORTABLE_SNPRINTF@
281
282 /* Indicates whether printf("%s",NULL) works */
283 #cmakedefine PRINTF_NULL_WORKING @PRINTF_NULL_WORKING@
284
285 /* define for stack growth */
286 #cmakedefine PTH_STACKGROWTH @PTH_STACKGROWTH@
287
288 /* enable the getline replacement */
289 #cmakedefine SIMGRID_NEED_GETLINE @SIMGRID_NEED_GETLINE@
290
291 /* The maximal size of any scalar on this arch */
292 #cmakedefine SIZEOF_MAX @SIZEOF_MAX@
293
294 /* Define to 1 if you have the ANSI C header files. */
295 #cmakedefine STDC_HEADERS @STDC_HEADERS@
296
297 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
298 #cmakedefine TIME_WITH_SYS_TIME @TIME_WITH_SYS_TIME@
299
300 /* Version number of package */
301 #cmakedefine VERSION @VERSION@
302
303 /* Tracing SimGrid */
304 #cmakedefine HAVE_TRACING @HAVE_TRACING@
305
306 /* Tracking of latency bound */
307 #cmakedefine HAVE_LATENCY_BOUND_TRACKING @HAVE_LATENCY_BOUND_TRACKING@
308
309 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
310    significant byte first (like Motorola and SPARC, unlike Intel). */
311 #if defined AC_APPLE_UNIVERSAL_BUILD
312 # if defined __BIG_ENDIAN__
313 #  define WORDS_BIGENDIAN 1
314 # endif
315 #else
316 # ifndef WORDS_BIGENDIAN
317 /* #  undef WORDS_BIGENDIAN */
318 # endif
319 #endif
320
321 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
322    `char[]'. */
323 #cmakedefine YYTEXT_POINTER 
324
325 /* Optional va_copy() implementation activation */
326 #ifndef HAVE_VA_COPY
327 #define va_copy(d, s) __VA_COPY_USE(d, s)
328 #endif
329 /* Define to id of used va_copy() implementation */
330 #cmakedefine __VA_COPY_USE(d, s) @__VA_COPY_USE@
331
332 /* Define to empty if `const' does not conform to ANSI C. */
333 #cmakedefine const @const@
334
335 /* Define to `__inline__' or `__inline' if that's what the C compiler
336    calls it, or to nothing if 'inline' is not supported under any name.  */
337 #ifndef __cplusplus
338 #cmakedefine inline @inline@
339 #endif
340
341 /* Define to `unsigned int' if <sys/types.h> does not define. */
342 #cmakedefine size_t @size_t@