forked from OpenModelica/OpenModelica
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathomc_config.unix.h.in
More file actions
53 lines (45 loc) · 1.54 KB
/
omc_config.unix.h.in
File metadata and controls
53 lines (45 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* @configure_input@ */
#define CONFIGURE_COMMANDLINE "Configured @date@ using arguments: '@CONFIGURE_ARGS@'"
#define CONFIG_DLL_EXT "@SHREXT@"
#define CONFIG_MODELICA_SPEC_PLATFORM "@MODELICA_SPEC_PLATFORM@"
#define CONFIG_OPENMODELICA_SPEC_PLATFORM "@OPENMODELICA_SPEC_PLATFORM@"
#define CONFIG_TRIPLE "@host_short@"
#define DEFAULT_CC "@RUNTIMECC@"
#define DEFAULT_CXX "@CXX@"
#define DEFAULT_OMPCC "@CC@ @OMPCFLAGS@"
#if defined(__sparc__)
#define DEFAULT_LINKER "@RUNTIMECC@ -G"
#elif defined(__APPLE_CC__)
#define DEFAULT_LINKER "@RUNTIMECC@ -single_module -dynamiclib -flat_namespace"
#elif defined(__x86_64__)
/* -fPIC needed on x86_64! */
#define DEFAULT_LINKER "@RUNTIMECC@ -shared"
#else
#define DEFAULT_LINKER "@RUNTIMECC@ -shared"
#endif
#define DEFAULT_CFLAGS "@RUNTIMECFLAGS@ ${MODELICAUSERCFLAGS}"
/* Define as HAVE_LAPACK if we have lapack support*/
@HAVE_LAPACK@
/* Define as HAVE_LAPACK_DEPRECATED if we have deprecated lapack functions (v < 3.6)*/
@HAVE_LAPACK_DEPRECATED@
@NO_FMIL@
#define CONFIG_DEFAULT_OPENMODELICAHOME "@prefix@"
#define CONFIG_REVISION "@SOURCE_REVISION@"
#define CONFIG_WITH_OPENMP @CONFIG_WITH_OPENMP@
/* Skip compiling against some stuff for the JavaScript runtime */
#if !defined(OMC_EMCC) && !defined(OMC_MINIMAL_RUNTIME)
#define WITH_SUNDIALS
@OMC_HAVE_IPOPT@
@WITH_SUITESPARSE@
#define WITH_HWLOC @WITH_HWLOC@
@WITH_UUID@
#endif
#if !defined(OMC_MINIMAL_RUNTIME)
#define WITH_DASSL
#endif
#define USE_GRAPH @USE_GRAPH@
#if USE_GRAPH
#define USE_PATOH @USE_PATOH@
#define USE_METIS @USE_METIS@
#endif
@HAVE_GETTEXT@