X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5fa8d6780a107eb5ae1ff8a233b0dd23cb065f8a..e6b5e106ef53a55ba7a1d7228f19456c9b249df9:/include/simgrid_config.h.in diff --git a/include/simgrid_config.h.in b/include/simgrid_config.h.in index de9e3f1750..49f6a3a98f 100644 --- a/include/simgrid_config.h.in +++ b/include/simgrid_config.h.in @@ -1,6 +1,7 @@ /* simgrid_config.h - Results of the configure made visible to user code */ -/* Copyright (c) 2009-2012. Da SimGrid team. All rights reserved. */ +/* Copyright (c) 2009-2014. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -21,6 +22,8 @@ SG_BEGIN_DECL() #define SIMGRID_VERSION_MINOR @SIMGRID_VERSION_MINOR@ #define SIMGRID_VERSION_PATCH @SIMGRID_VERSION_PATCH@ +#define SIMGRID_VERSION_STRING "@SIMGRID_VERSION_STRING@" + /* Version X.Y.Z will get version number XYZ: all digits concatenated without dots * (with Y and Z must be on two positions)*/ @@ -67,25 +70,15 @@ XBT_PUBLIC_DATA(xbt_dynar_t) sg_cmdline; #endif -/* Define to 1 if you have the `mmap' function. */ -#cmakedefine HAVE_MMAP @HAVE_MMAP@ +/* Define to 1 if mmalloc is compiled in. */ +#cmakedefine HAVE_MMALLOC @HAVE_MMALLOC@ /* Get the config */ -#undef SIMGRID_NEED_GETLINE #undef SIMGRID_NEED_ASPRINTF #undef SIMGRID_NEED_VASPRINTF -@need_getline@ @simgrid_need_asprintf@ @simgrid_need_vasprintf@ -#include /* FILE, getline if it exists */ - -/* Use that config to declare missing elements */ -#ifdef SIMGRID_NEED_GETLINE -#include /* size_t */ -XBT_PUBLIC(long) getline(char **lineptr, size_t * n, FILE * stream); -#endif - #include /* snprintf related functions */ @@ -131,9 +124,6 @@ XBT_PUBLIC(char *) bprintf(const char *fmt, ...) _XBT_GNUC_PRINTF(1, 2); /* Define if xbt contexts are based on our threads implementation or not */ #cmakedefine CONTEXT_THREADS @CONTEXT_THREADS@ -/* Tracing SimGrid */ -#cmakedefine HAVE_TRACING @HAVE_TRACING@ - /* Jedule output */ #cmakedefine HAVE_JEDULE @HAVE_JEDULE@