Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
f310d592bf4502747fce421fadbe3a5b039ee0af
[simgrid.git] / include / simgrid_config.h.in
1 /* simgrid_config.h - Results of the configure made visible to user code    */
2
3 /* Copyright (c) 2009-2016. The SimGrid Team. All rights reserved.          */
4
5 /* This program is free software; you can redistribute it and/or modify it
6  * under the terms of the license (GNU LGPL) which comes with this package. */
7
8 #ifndef SIMGRID_PUBLIC_CONFIG_H
9 #define SIMGRID_PUBLIC_CONFIG_H
10
11 /* This file should only contain public declarations, mainly the definitions of SimGrid modules that were compiled in */
12
13 /** Define the version numbers of the used header files. 
14     sg_version() can be used to retrieve the version of the dynamic library.
15     But actually, if these numbers don't match, SimGrid refuses to start (so you shouldn't have to care about sg_version() yourself) */
16
17 #define SIMGRID_VERSION_MAJOR @SIMGRID_VERSION_MAJOR@
18 #define SIMGRID_VERSION_MINOR @SIMGRID_VERSION_MINOR@
19 #define SIMGRID_VERSION_PATCH @SIMGRID_VERSION_PATCH@
20
21 #define SIMGRID_VERSION_STRING "@SIMGRID_VERSION_STRING@"
22 #define SIMGRID_VERSION_BANNER "@SIMGRID_VERSION_BANNER@"
23
24 /* Version X.Y.Z will get version number XYZ: all digits concatenated without dots
25  * (with Y and Z must be on two positions)*/
26 #define MAKE_SIMGRID_VERSION(major, minor, patch)   (100UL * (100UL * (major) + (minor)) + (patch))
27 #define SIMGRID_VERSION MAKE_SIMGRID_VERSION(SIMGRID_VERSION_MAJOR, SIMGRID_VERSION_MINOR, SIMGRID_VERSION_PATCH)
28
29 /* Define to 1 if you have the <unistd.h> header file. */
30 #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
31
32 /* Whether mallocators were enabled in ccmake or not. */
33 #define MALLOCATOR_COMPILED_IN @MALLOCATOR_IS_WANTED@
34
35 /* Define if xbt contexts are based on our threads implementation or not */
36 #cmakedefine HAVE_THREAD_CONTEXTS @HAVE_THREAD_CONTEXTS@
37
38 /* If __thread is available */
39 #cmakedefine HAVE_THREAD_LOCAL_STORAGE @HAVE_THREAD_LOCAL_STORAGE@
40
41 /* Define to 1 if mmalloc is compiled in. */
42 #cmakedefine HAVE_MMALLOC @HAVE_MMALLOC@
43
44 #cmakedefine HAVE_JEDULE @HAVE_JEDULE@ /* Was Jedule compiled in?  */
45 #cmakedefine HAVE_MC     @HAVE_MC@     /* Was the model-checking compiled in? */
46 #cmakedefine HAVE_NS3    @HAVE_NS3@    /* Was the NS3 support compiled in? */
47 #cmakedefine HAVE_LUA    @HAVE_LUA@    /* Was the Lua support compiled in? */
48
49 #cmakedefine SIMGRID_HAVE_LIBSIG @SIMGRID_HAVE_LIBSIG@
50
51 #endif /* SIMGRID_PUBLIC_CONFIG_H */