Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / tools / cmake / src / internal_config.h.in
1 /* internal_config.h -- characteristics of the platform, as probed by Cmake */
2
3 /* Warning: The file internal_config.h is AUTOMATICALLY GENERATED by Cmake. 
4  * Edit the template instead: tools/cmake/src/internal_config.h.in          */
5
6 /* Copyright (c) 2004-2016. The SimGrid Team. All rights reserved.          */
7
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. */
10
11 #include "simgrid_config.h"       /* what was compiled in? */
12
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> */
20
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 */
25
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@
31
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 */
36
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@
40
41 /* Variables for the SysV contexts */
42 @sg_makecontext_stack_addr@
43 @sg_makecontext_stack_size@
44
45 /* Variable for SysV, raw and Boost contexts */
46 #cmakedefine PTH_STACKGROWTH @PTH_STACKGROWTH@ /* Does the stack growth upward, or downward? */
47
48 /* MC variables */
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 */
53
54 /* SMPI variables */
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 */
58
59 /* Other function checks */
60 #define HAVE_MMAP      @HAVE_MMAP@ /* Function mmap */
61 #define HAVE_SEM_INIT  @HAVE_SEM_INIT@ /* Function sem_init (part of XPG6 standard only) */
62 #define HAVE_POPEN     @HAVE_POPEN@ /* Function popen */
63 #define HAVE_SYSCONF   @HAVE_SYSCONF@ /* Function sysconf */
64 #define HAVE_VASPRINTF @HAVE_VASPRINTF@ /* Function vasprintf */
65
66 /* Other checks */
67 #cmakedefine ADDR2LINE       "@ADDR2LINE@" /* Path to the addr2line tool */
68 #define HAVE_GRAPHVIZ   @HAVE_GRAPHVIZ@ /* The graphviz library */