File: grib_api_config.h.in

package info (click to toggle)
grib-api 1.19.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 217,848 kB
  • ctags: 16,929
  • sloc: ansic: 111,244; sh: 14,785; makefile: 5,307; f90: 3,583; perl: 3,160; python: 2,830; yacc: 712; fortran: 468; lex: 330; cpp: 305; awk: 66
file content (101 lines) | stat: -rw-r--r-- 2,207 bytes parent folder | download
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
/*
 * Copyright 2005-2016 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 grib_api_config_h
#define grib_api_config_h

#include "grib_api_ecbuild_config.h" /* generated by ecbuild */

#define GRIB_API_VERSION_STR      "@GRIB_API_VERSION_STR@"

/* GRIB_API_VERSION is defined in grib_api.h from the 3 version components below */

#define GRIB_API_MAJOR_VERSION    @GRIB_API_MAJOR_VERSION@
#define GRIB_API_MINOR_VERSION    @GRIB_API_MINOR_VERSION@
#define GRIB_API_REVISION_VERSION @GRIB_API_PATCH_VERSION@

#define GRIB_DEFINITION_PATH      "@GRIB_API_DEFINITION_PATH@"

#ifdef EC_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 GRIB_SAMPLES_PATH         "@GRIB_API_SAMPLES_PATH@"

#define GRIB_TEMPLATES_PATH       "@GRIB_API_SAMPLES_PATH@"

#define GRIB_TIMER @GRIB_TIMER@

/* headers */

#ifdef EC_HAVE_ASSERT_H
#define   HAVE_ASSERT_H 1
#endif

#ifdef EC_HAVE_STRING_H
#define   HAVE_STRING_H 1
#endif

#ifdef EC_HAVE_FSEEKO
#define   HAVE_FSEEKO 1
#endif

#ifdef EC_HAVE_SYS_TYPES_H
#define   HAVE_SYS_TYPES_H 1
#endif

#ifdef  EC_HAVE_SYS_STAT_H
#define    HAVE_SYS_STAT_H 1
#endif

#ifdef  EC_HAVE_FCNTL_H
#define    HAVE_FCNTL_H 1
#endif

#ifdef  EC_HAVE_UNISTD_H
#define    HAVE_UNISTD_H 1
#endif

#ifdef  EC_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

#endif /* grib_api_config_h */