X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/396aba1cbeea2978b413b640014a023a9051708d..4e2035d7b4730d535ebd7619c4e85878f71f8cb2:/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 f06474647a..90d8c70ba7 100644 --- a/tools/cmake/src/internal_config.h.in +++ b/tools/cmake/src/internal_config.h.in @@ -3,7 +3,7 @@ /* Warning: The file internal_config.h is AUTOMATICALLY GENERATED by Cmake. * Edit the template instead: tools/cmake/src/internal_config.h.in */ -/* Copyright (c) 2004-2016. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-2017. 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. */ @@ -24,6 +24,10 @@ /* */ #cmakedefine01 HAVE_VALGRIND_H +/* Address Sanitizer */ +#cmakedefine01 HAVE_SANITIZE_ADDRESS +#cmakedefine01 HAVE_SANITIZE_ADDRESS_FIBER_SUPPORT + /* Time portability */ /* Function gettimeofday */ #cmakedefine01 HAVE_GETTIMEOFDAY @@ -33,7 +37,7 @@ #cmakedefine01 HAVE_NANOSLEEP /* The usable context factories */ -#cmakedefine01 HAVE_BOOST_CONTEXTS +#define HAVE_BOOST_CONTEXTS @HAVE_BOOST_CONTEXTS@ #cmakedefine01 HAVE_RAW_CONTEXTS #cmakedefine01 HAVE_THREAD_CONTEXTS #cmakedefine01 HAVE_UCONTEXT_CONTEXTS @@ -56,7 +60,7 @@ /* Variable for SysV, raw and Boost contexts */ /* Does the stack growth upward, or downward? */ -#cmakedefine01 PTH_STACKGROWTH +#define PTH_STACKGROWTH @PTH_STACKGROWTH@ /* MC variables */ /* getdtablesize: get descriptor table size */ @@ -66,7 +70,7 @@ /* process_vm_readv: transfer data between process address spaces */ #cmakedefine01 HAVE_PROCESS_VM_READV /* Set to true if enable_model-checking is true and the dependencies available */ -#cmakedefine01 HAVE_MC +#cmakedefine01 SIMGRID_HAVE_MC /* SMPI variables */ /* SMPI enabled */ @@ -77,6 +81,8 @@ #cmakedefine01 HAVE_PRIVATIZATION /* We have PAPI to fine-grain trace execution time */ #cmakedefine01 HAVE_PAPI +/* We have sendfile to efficiently copy files for dl-open privatization */ +#cmakedefine01 HAVE_SENDFILE /* Other function checks */ /* Function backtrace */ @@ -103,3 +109,5 @@ #cmakedefine01 HAVE_GRAPHVIZ /* The lib unwind library (for MC and backtrace display) */ #cmakedefine01 HAVE_LIBUNWIND +/* Whether we are built under a sanitizer (to disable dlopen privatization) */ +#cmakedefine01 HAVE_SANITIZER