configure_file("${CMAKE_HOME_DIRECTORY}/src/context_sysv_config.h.in" "${CMAKE_BINARY_DIR}/src/context_sysv_config.h" @ONLY IMMEDIATE)
SET( CMAKEDEFINE "#cmakedefine" )
-configure_file("${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/src/gras_config.h.in" "${CMAKE_BINARY_DIR}/src/gras_config.h" @ONLY IMMEDIATE)
-configure_file("${CMAKE_BINARY_DIR}/src/gras_config.h" "${CMAKE_BINARY_DIR}/src/gras_config.h" @ONLY IMMEDIATE)
+configure_file("${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/src/internal_config.h.in" "${CMAKE_BINARY_DIR}/src/internal_config.h" @ONLY IMMEDIATE)
+configure_file("${CMAKE_BINARY_DIR}/src/internal_config.h" "${CMAKE_BINARY_DIR}/src/internal_config.h" @ONLY IMMEDIATE)
configure_file("${CMAKE_HOME_DIRECTORY}/include/simgrid_config.h.in" "${CMAKE_BINARY_DIR}/include/simgrid_config.h" @ONLY IMMEDIATE)
set(top_srcdir "${CMAKE_HOME_DIRECTORY}")
set(generated_headers
${CMAKE_CURRENT_BINARY_DIR}/src/context_sysv_config.h
- ${CMAKE_CURRENT_BINARY_DIR}/src/gras_config.h
+ ${CMAKE_CURRENT_BINARY_DIR}/src/internal_config.h
)
set(generated_files_to_clean
-// <root>/buildtools/Cmake/gras_config.h.in is user-written.
-// With Cmake it creates <root>/src/gras_config.h
+// <root>/buildtools/Cmake/internal_config.h.in is user-written.
+// With Cmake it creates <root>/src/internal_config.h
/* Set somes variables for Windows compilation */
#ifndef GRAS_PORTABLE_H
#define GRAS_PORTABLE_H
-#include "gras_config.h"
+#include "internal_config.h"
#include "xbt/misc.h"
/*
* win32 or win64 (__XBT_WIN32 is defined for win32 and win64 applications, __TOS_WIN__ is defined by xlC).
#include "xbt/swag.h"
#include "xbt/xbt_os_thread.h"
#include "smx_private.h"
-#include "gras_config.h"
+#include "internal_config.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_context, simix,
"Context switching mechanism");
#include "xbt/parmap.h"
#include "smx_private.h"
-#include "gras_config.h"
+#include "internal_config.h"
#include "context_sysv_config.h" /* loads context system definitions */
#include "mc/mc.h"
#include "surf/random_mgr.h"
#include "xbt/sysdep.h"
-#include "gras_config.h" /*_XBT_WIN32*/
+#include "internal_config.h" /*_XBT_WIN32*/
#include <math.h>
#include <stdlib.h>
#define _SURF_SURF_ROUTING_PRIVATE_H
#include <float.h>
-#include "gras_config.h"
+#include "internal_config.h"
#include "surf_private.h"
#include "xbt/dynar.h"
*/
#if defined(__GNUC__)
/* data comes from autoconf when using gnuc (cross-compiling?) */
- # include "gras_config.h"
+ # include "internal_config.h"
#ifndef _XBT_WIN32
typedef unsigned int uint32_t;
#endif
/* Redefine the classical malloc/free/realloc functions so that they fit well in the mmalloc framework */
#include "mmprivate.h"
-#include "gras_config.h"
+#include "internal_config.h"
#include <math.h>
/* 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. */
-#include "gras_config.h"
+#include "internal_config.h"
#include <unistd.h>
#ifndef _XBT_WIN32
#include "xbt/ex.h"
#include "xbt/xbt_os_thread.h"
#include "xbt/xbt_os_time.h"
-#include "gras_config.h" /* HAVE_FUTEX_H */
+#include "internal_config.h" /* HAVE_FUTEX_H */
XBT_TEST_SUITE("parmap", "Parallel Map");
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(xbt_parmap_unit);
#include <string.h>
#include "setset_private.h"
#include "xbt/sysdep.h"
-#include "gras_config.h" /*_XBT_WIN32*/
+#include "internal_config.h" /*_XBT_WIN32*/
/*The function ffs doesn't exist for windows*/
#ifdef _XBT_WIN32
#include "xbt/misc.h"
#include "simgrid_config.h" /*HAVE_MMAP _XBT_WIN32 */
-#include "gras_config.h" /* MMALLOC_WANT_OVERRIDE_LEGACY */
+#include "internal_config.h" /* MMALLOC_WANT_OVERRIDE_LEGACY */
#include "time.h" /* to seed the random generator */
#include "xbt/sysdep.h"
/* 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. */
-#include "gras_config.h"
+#include "internal_config.h"
#include "xbt/sysdep.h"
#include "xbt/ex.h"
#include "xbt/ex_interface.h" /* We play crude games with exceptions */
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "simgrid_config.h" //For getline, keep that include first
-#include "gras_config.h"
+#include "internal_config.h"
#include <errno.h>
#include "xbt/sysdep.h"
#include "xbt/log.h"
#include <xbt/dynar.h>
#include <xbt/parmap.h>
#include <xbt/sysdep.h>
-#include <gras_config.h> /* HAVE_FUTEX_H */
+#include <internal_config.h> /* HAVE_FUTEX_H */
#include "xbt/xbt_os_time.h"
#define MODES_DEFAULT 0x7