2013-04-10 15:46:41 +00:00
|
|
|
/*
|
2015-01-05 15:45:46 +00:00
|
|
|
* Copyright 2005-2015 ECMWF.
|
2013-04-10 15:46:41 +00:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2015-02-18 18:11:38 +00:00
|
|
|
#ifndef eccodes_config_h
|
|
|
|
#define eccodes_config_h
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2015-02-18 10:14:22 +00:00
|
|
|
#include "eccodes_ecbuild_config.h" /* generated by ecbuild */
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2015-02-25 17:42:04 +00:00
|
|
|
#define ECCODES_VERSION_STR "@ECCODES_VERSION_STR@"
|
2014-01-03 11:20:14 +00:00
|
|
|
|
2015-02-25 17:42:04 +00:00
|
|
|
/* ECCODES_VERSION is defined in grib_api.h from the 3 version components below */
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2015-02-25 17:42:04 +00:00
|
|
|
#define ECCODES_MAJOR_VERSION @ECCODES_MAJOR_VERSION@
|
|
|
|
#define ECCODES_MINOR_VERSION @ECCODES_MINOR_VERSION@
|
|
|
|
#define ECCODES_REVISION_VERSION @ECCODES_PATCH_VERSION@
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2015-01-24 22:19:32 +00:00
|
|
|
#define ECCODES_DEFINITION_PATH "@ECCODES_DEFINITION_PATH@"
|
2013-04-10 15:46:41 +00:00
|
|
|
|
|
|
|
#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@
|
|
|
|
|
2015-01-24 22:19:32 +00:00
|
|
|
#define ECCODES_SAMPLES_PATH "@ECCODES_SAMPLES_PATH@"
|
2013-04-10 15:46:41 +00:00
|
|
|
|
|
|
|
#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 */
|
|
|
|
|
2013-04-03 10:45:13 +00:00
|
|
|
#define IEEE_BE @IEEE_BE@
|
2013-04-10 15:46:41 +00:00
|
|
|
|
2013-04-03 10:45:13 +00:00
|
|
|
#define IEEE_LE @IEEE_LE@
|
|
|
|
|
2013-04-10 15:46:41 +00:00
|
|
|
#define IS_BIG_ENDIAN @IS_BIG_ENDIAN@
|
|
|
|
|
|
|
|
#define MANAGE_MEM @MANAGE_MEM@
|
|
|
|
|
|
|
|
/* packages */
|
|
|
|
|
2013-04-03 10:45:13 +00:00
|
|
|
#define HAVE_JPEG @HAVE_JPEG@
|
2013-04-10 15:46:41 +00:00
|
|
|
|
2013-04-03 10:45:13 +00:00
|
|
|
#define HAVE_LIBJASPER @HAVE_LIBJASPER@
|
2013-04-10 15:46:41 +00:00
|
|
|
|
2013-04-03 10:45:13 +00:00
|
|
|
#define HAVE_LIBOPENJPEG @HAVE_LIBOPENJPEG@
|
|
|
|
|
|
|
|
#define HAVE_LIBPNG @HAVE_LIBPNG@
|
|
|
|
|
2014-10-20 16:40:17 +00:00
|
|
|
#cmakedefine HAVE_AEC
|
2013-04-10 15:46:41 +00:00
|
|
|
|
2013-04-03 10:45:13 +00:00
|
|
|
#cmakedefine HAVE_NETCDF
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2015-02-18 18:11:38 +00:00
|
|
|
#endif /* eccodes_config_h */
|