-
Notifications
You must be signed in to change notification settings - Fork 88
/
eccodes_config.h.in
133 lines (93 loc) · 3.31 KB
/
eccodes_config.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
/*
* (C) Copyright 2005- ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*
* In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
*/
#ifndef eccodes_config_h
#define eccodes_config_h
#include "eccodes_ecbuild_config.h" /* generated by ecbuild */
#define ECCODES_VERSION_STR "@eccodes_VERSION_STR@"
/* ECCODES_VERSION is defined in eccodes_version.h from the 3 version components below */
#define ECCODES_MAJOR_VERSION @eccodes_VERSION_MAJOR@
#define ECCODES_MINOR_VERSION @eccodes_VERSION_MINOR@
#define ECCODES_REVISION_VERSION @eccodes_VERSION_PATCH@
#define ECCODES_DEFINITION_PATH "@ECCODES_DEFINITION_PATH@"
#cmakedefine ECCODES_HAVE_C_INLINE
#ifdef ECCODES_HAVE_C_INLINE
#define GRIB_INLINE inline
#endif
#define GRIB_LINUX_PTHREADS @GRIB_LINUX_PTHREADS@
#define GRIB_MEM_ALIGN @GRIB_MEM_ALIGN@
#define GRIB_PTHREADS @GRIB_PTHREADS@
#define GRIB_OMP_THREADS @GRIB_OMP_THREADS@
#define ECCODES_SAMPLES_PATH "@ECCODES_SAMPLES_PATH@"
#define ECCODES_TIMER @ECCODES_TIMER@
/* headers */
#cmakedefine ECCODES_HAVE_ASSERT_H
#cmakedefine ECCODES_HAVE_STRING_H
#cmakedefine ECCODES_HAVE_SYS_TYPES_H
#cmakedefine ECCODES_HAVE_SYS_STAT_H
#cmakedefine ECCODES_HAVE_FCNTL_H
#cmakedefine ECCODES_HAVE_UNISTD_H
#cmakedefine ECCODES_HAVE_FSEEKO
#cmakedefine ECCODES_HAVE_POSIX_MEMALIGN
#cmakedefine ECCODES_HAVE_FMEMOPEN
#cmakedefine ECCODES_HAVE_FUNOPEN
#cmakedefine ECCODES_HAVE_REALPATH
#cmakedefine ECCODES_HAVE_FSYNC
#cmakedefine ECCODES_HAVE_FDATASYNC
#if defined(EC_HAVE_ASSERT_H) || defined(ECCODES_HAVE_ASSERT_H)
#define HAVE_ASSERT_H 1
#endif
#if defined(EC_HAVE_STRING_H) || defined(ECCODES_HAVE_STRING_H)
#define HAVE_STRING_H 1
#endif
#if defined(EC_HAVE_SYS_TYPES_H) || defined(ECCODES_HAVE_SYS_TYPES_H)
#define HAVE_SYS_TYPES_H 1
#endif
#if defined(EC_HAVE_SYS_STAT_H) || defined(ECCODES_HAVE_SYS_STAT_H)
#define HAVE_SYS_STAT_H 1
#endif
#if defined(EC_HAVE_FCNTL_H) || defined(ECCODES_HAVE_FCNTL_H)
#define HAVE_FCNTL_H 1
#endif
#if defined(EC_HAVE_UNISTD_H) || defined(ECCODES_HAVE_UNISTD_H)
#define HAVE_UNISTD_H 1
#endif
#if defined(EC_HAVE_FSEEKO) || defined(ECCODES_HAVE_FSEEKO)
#define HAVE_FSEEKO 1
#endif
#if defined(EC_HAVE_POSIX_MEMALIGN) || defined(ECCODES_HAVE_POSIX_MEMALIGN)
#define POSIX_MEMALIGN 1
#endif
/* other */
#define IEEE_BE @IEEE_BE@
#define IEEE_LE @IEEE_LE@
#define IS_BIG_ENDIAN @IS_BIG_ENDIAN@
#define MANAGE_MEM @MANAGE_MEM@
/* packages */
#define HAVE_JPEG @HAVE_JPEG@
#define HAVE_LIBJASPER @HAVE_LIBJASPER@
#define HAVE_LIBOPENJPEG @HAVE_LIBOPENJPEG@
#define HAVE_LIBPNG @HAVE_LIBPNG@
#cmakedefine HAVE_AEC
#cmakedefine HAVE_NETCDF
#cmakedefine HAVE_GEOGRAPHY
#cmakedefine HAVE_MEMFS
#cmakedefine HAVE_FORTRAN
#ifdef HAVE_MEMFS
#undef ECCODES_DEFINITION_PATH
#define ECCODES_DEFINITION_PATH "/MEMFS/definitions"
#undef ECCODES_SAMPLES_PATH
#define ECCODES_SAMPLES_PATH "/MEMFS/samples"
#undef ECCODES_IFS_SAMPLES_PATH
#define ECCODES_IFS_SAMPLES_PATH "/MEMFS/ifs_samples"
#endif
#ifdef HAVE_LIBJASPER
#define JASPER_VERSION_MAJOR @JASPER_VERSION_MAJOR@
#endif
#endif /* eccodes_config_h */