1 /* internal_config.h -- characteristics of the platform, as probed by Cmake */
3 /* Warning: The file internal_config.h is AUTOMATICALLY GENERATED by Cmake.
4 * Edit the template instead: tools/cmake/src/internal_config.h.in */
6 /* Copyright (c) 2004-2016. The SimGrid Team. All rights reserved. */
8 /* This program is free software; you can redistribute it and/or modify it
9 * under the terms of the license (GNU LGPL) which comes with this package. */
11 #include "simgrid_config.h" /* what was compiled in? */
13 /* Non-standard header files */
14 #define HAVE_EXECINFO_H @HAVE_EXECINFO_H@ /* <execinfo.h> */
15 #define HAVE_FUTEX_H @HAVE_FUTEX_H@ /* <linux/futex.h> */
16 #define HAVE_SIGNAL_H @HAVE_SIGNAL_H@ /* <signal.h> */
17 #define HAVE_UNISTD_H @HAVE_UNISTD_H@ /* <unistd.h> */
18 #define HAVE_UCONTEXT_H @HAVE_UCONTEXT_H@ /* <ucontext.h> */
19 #define HAVE_VALGRIND_H @HAVE_VALGRIND_H@ /* <valgrind/valgrind.h> */
21 /* Time portability */
22 #define HAVE_GETTIMEOFDAY @HAVE_GETTIMEOFDAY@ /* Function gettimeofday */
23 #define HAVE_POSIX_GETTIME @HAVE_POSIX_GETTIME@ /* Function clock_gettime */
24 #define HAVE_NANOSLEEP @HAVE_NANOSLEEP@ /* Function nanosleep */
26 /* The usable context factories */
27 #define HAVE_BOOST_CONTEXTS @HAVE_BOOST_CONTEXTS@
28 #define HAVE_RAW_CONTEXTS @HAVE_RAW_CONTEXTS@
29 #define HAVE_THREAD_CONTEXTS @HAVE_THREAD_CONTEXTS@
30 #define HAVE_UCONTEXT_CONTEXTS @HAVE_UCONTEXT_CONTEXTS@
32 /* Variables for the thread contexts (and parallel mode of raw contexts) */
33 #define HAVE_PTHREAD @HAVE_PTHREAD@ /* Define to 1 if threads are usable . */
34 #define HAVE_PTHREAD_SETAFFINITY @HAVE_PTHREAD_SETAFFINITY@ /* Does not seems defined on Mac nor Windows */
35 #define HAVE_THREAD_LOCAL_STORAGE @HAVE_THREAD_LOCAL_STORAGE@ /* If __thread is available */
37 /* Variables for the raw contexts (to select the right assembly code) */
38 #define SIMGRID_PROCESSOR_i686 @PROCESSOR_i686@
39 #define SIMGRID_PROCESSOR_x86_64 @PROCESSOR_x86_64@
41 /* Variables for the SysV contexts */
42 @sg_makecontext_stack_addr@
43 @sg_makecontext_stack_size@
45 /* Variable for SysV, raw and Boost contexts */
46 #cmakedefine PTH_STACKGROWTH @PTH_STACKGROWTH@ /* Does the stack growth upward, or downward? */
49 #define HAVE_GETDTABLESIZE @HAVE_GETDTABLESIZE@ /* getdtablesize: get descriptor table size */
50 #define HAVE_MMALLOC @HAVE_MMALLOC@ /* Did we compile mmalloc in? */
51 #define HAVE_PROCESS_VM_READV @HAVE_PROCESS_VM_READV@ /* process_vm_readv: transfer data between process address spaces */
52 #define HAVE_MC @HAVE_MC@ /* Set to true if enable_model-checking is true and the dependencies available */
55 #define HAVE_SMPI @HAVE_SMPI@
56 #define SMPI_FORTRAN @SMPI_FORTRAN@
57 #define HAVE_PRIVATIZATION @HAVE_PRIVATIZATION@ /* We have mmap and objdump to handle privatization */
59 /* Make PAPI available? */
60 #define HAVE_PAPI @HAVE_PAPI@
62 /* Other function checks */
63 #define HAVE_BACKTRACE @HAVE_BACKTRACE@ /* Function backtrace */
64 #define HAVE_MMAP @HAVE_MMAP@ /* Function mmap */
65 #define HAVE_SEM_INIT @HAVE_SEM_INIT@ /* Function sem_init (part of XPG6 standard only) */
66 #define HAVE_POPEN @HAVE_POPEN@ /* Function popen */
67 #define HAVE_SYSCONF @HAVE_SYSCONF@ /* Function sysconf */
68 #define HAVE_VASPRINTF @HAVE_VASPRINTF@ /* Function vasprintf */
71 #cmakedefine ADDR2LINE "@ADDR2LINE@" /* Path to the addr2line tool */
72 #define HAVE_GRAPHVIZ @HAVE_GRAPHVIZ@ /* The graphviz library */