forked from OpenModelica/OpenModelica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathomc_config.unix.h.in
88 lines (79 loc) · 2.87 KB
/
omc_config.unix.h.in
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/*
* This file is part of OpenModelica.
*
* Copyright (c) 1998-CurrentYear, Open Source Modelica Consortium (OSMC),
* c/o Linköpings universitet, Department of Computer and Information Science,
* SE-58183 Linköping, Sweden.
*
* All rights reserved.
*
* THIS PROGRAM IS PROVIDED UNDER THE TERMS OF AGPL VERSION 3 LICENSE OR
* THIS OSMC PUBLIC LICENSE (OSMC-PL) VERSION 1.8.
* ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS PROGRAM CONSTITUTES
* RECIPIENT'S ACCEPTANCE OF THE OSMC PUBLIC LICENSE OR THE GNU AGPL
* VERSION 3, ACCORDING TO RECIPIENTS CHOICE.
*
* The OpenModelica software and the OSMC (Open Source Modelica Consortium)
* Public License (OSMC-PL) are obtained from OSMC, either from the above
* address, from the URLs:
* http://www.openmodelica.org or
* https://github.com/OpenModelica/ or
* http://www.ida.liu.se/projects/OpenModelica,
* and in the OpenModelica distribution.
*
* GNU AGPL version 3 is obtained from:
* https://www.gnu.org/licenses/licenses.html#GPL
*
* This program is distributed WITHOUT ANY WARRANTY; without
* even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE, EXCEPT AS EXPRESSLY SET FORTH
* IN THE BY RECIPIENT SELECTED SUBSIDIARY LICENSE CONDITIONS OF OSMC-PL.
*
* See the full OSMC Public License conditions for more details.
*
*/
/* @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 "-DOM_HAVE_PTHREADS @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@