X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a4d071afeab4b3ff0a50eefbf48a391d4e8978aa..bb52ef5fabdd283019a32fb5d812b5e40127bea5:/tools/cmake/src/internal_config.h.in diff --git a/tools/cmake/src/internal_config.h.in b/tools/cmake/src/internal_config.h.in index 20aefcfc79..e55e2aacf7 100644 --- a/tools/cmake/src/internal_config.h.in +++ b/tools/cmake/src/internal_config.h.in @@ -8,6 +8,8 @@ /* 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 "simgrid_config.h" /* what was compiled in? */ + /* Non-standard header files */ #define HAVE_EXECINFO_H @HAVE_EXECINFO_H@ /* */ #define HAVE_FUTEX_H @HAVE_FUTEX_H@ /* */ @@ -33,9 +35,8 @@ #define HAVE_THREAD_LOCAL_STORAGE @HAVE_THREAD_LOCAL_STORAGE@ /* If __thread is available */ /* Variables for the raw contexts (to select the right assembly code) */ -#cmakedefine PROCESSOR_i686 @PROCESSOR_i686@ -#cmakedefine PROCESSOR_x86_64 @PROCESSOR_x86_64@ -#cmakedefine CMAKE_SYSTEM_PROCESSOR @CMAKE_SYSTEM_PROCESSOR@ +#define SIMGRID_PROCESSOR_i686 @PROCESSOR_i686@ +#define SIMGRID_PROCESSOR_x86_64 @PROCESSOR_x86_64@ /* Variables for the SysV contexts */ @sg_makecontext_stack_addr@ @@ -55,7 +56,11 @@ #define SMPI_FORTRAN @SMPI_FORTRAN@ #define HAVE_PRIVATIZATION @HAVE_PRIVATIZATION@ /* We have mmap and objdump to handle privatization */ +/* Make PAPI available? */ +#define HAVE_PAPI @HAVE_PAPI@ + /* Other function checks */ +#define HAVE_BACKTRACE @HAVE_BACKTRACE@ /* Function backtrace */ #define HAVE_MMAP @HAVE_MMAP@ /* Function mmap */ #define HAVE_SEM_INIT @HAVE_SEM_INIT@ /* Function sem_init (part of XPG6 standard only) */ #define HAVE_POPEN @HAVE_POPEN@ /* Function popen */ @@ -65,3 +70,4 @@ /* Other checks */ #cmakedefine ADDR2LINE "@ADDR2LINE@" /* Path to the addr2line tool */ #define HAVE_GRAPHVIZ @HAVE_GRAPHVIZ@ /* The graphviz library */ +#define HAVE_LIBUNWIND @HAVE_LIBUNWIND@ /* The lib unwind library (for MC and backtrace display) */ \ No newline at end of file