Logo AND Algorithmique Numérique Distribuée

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