netcdf-c/config.h.cmake.in

566 lines
15 KiB
CMake
Raw Normal View History

/* config.h.in. Generated from configure.ac by autoheader. */
/* Define if building universal (internal helper macro) */
#cmakedefine AC_APPLE_UNIVERSAL_BUILD
/* If true, will attempt to download and build netcdf-fortran. */
#cmakedefine BUILD_FORTRAN
/* default file chunk cache nelems. */
#cmakedefine CHUNK_CACHE_NELEMS ${CHUNK_CACHE_NELEMS}
/* default file chunk cache preemption policy. */
#cmakedefine CHUNK_CACHE_PREEMPTION ${CHUNK_CACHE_PREEMPTION}
/* default file chunk cache size in bytes. */
#cmakedefine CHUNK_CACHE_SIZE ${CHUNK_CACHE_SIZE}
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.
*/
#cmakedefine CRAY_STACKSEG_END
/* Define to 1 if using `alloca.c'. */
#cmakedefine C_ALLOCA 1
2012-09-05 06:10:32 +08:00
/* num chunks in default per-var chunk cache. */
#cmakedefine DEFAULT_CHUNKS_IN_CACHE ${DEFAULT_CHUNKS_IN_CACHE}
/* default chunk size in bytes */
#cmakedefine DEFAULT_CHUNK_SIZE ${DEFAULT_CHUNK_SIZE}
2012-07-18 04:50:43 +08:00
/* set this only when building a DLL under MinGW */
#cmakedefine DLL_EXPORT 1
/* set this only when building a DLL under MinGW */
#cmakedefine DLL_NETCDF 1
2012-07-18 04:50:43 +08:00
/* if true, build DAP Client */
2012-08-11 04:55:07 +08:00
#cmakedefine ENABLE_DAP 1
/* if true, enable DAP group names */
2012-08-11 04:55:07 +08:00
#cmakedefine ENABLE_DAP_GROUPS 1
/* if true, do remote tests */
2012-08-11 04:55:07 +08:00
#cmakedefine ENABLE_DAP_REMOTE_TESTS 1
/* if true, run extra tests which may not work yet */
#cmakedefine EXTRA_TESTS 1
/* use HDF5 1.6 API */
#cmakedefine H5_USE_16_API 1
/* Define to 1 if you have `alloca', as a function or macro. */
#cmakedefine HAVE_ALLOCA 1
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
*/
#cmakedefine HAVE_ALLOCA_H 1
/* Define to 1 if you have the <ctype.h> header file. */
#cmakedefine HAVE_CTYPE_H 1
/* Is CURLINFO_RESPONSE_CODE defined */
#cmakedefine HAVE_CURLINFO_RESPONSE_CODE 1
/* Is CURLOPT_CHUNK_BGN_FUNCTION defined */
#cmakedefine HAVE_CURLOPT_CHUNK_BGN_FUNCTION 1
2012-08-11 04:55:07 +08:00
/* Is CURLOPT_KEYPASSWD defined */
#cmakedefine HAVE_CURLOPT_KEYPASSWD 1
/* Is CURLOPT_PASSWORD defined */
#cmakedefine HAVE_CURLOPT_PASSWORD 1
/* Is CURLOPT_USERNAME defined */
#cmakedefine HAVE_CURLOPT_USERNAME 1
/* Define to 1 if you have the declaration of `isfinite', and to 0 if you
don't. */
#cmakedefine HAVE_DECL_ISFINITE 1
/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
*/
#cmakedefine HAVE_DECL_ISINF 1
/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
*/
#cmakedefine HAVE_DECL_ISNAN 1
/* Define to 1 if you have the declaration of `signbit', and to 0 if you
don't. */
#cmakedefine HAVE_DECL_SIGNBIT 1
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#cmakedefine HAVE_DIRENT_H 1
2012-08-28 05:19:25 +08:00
/* Define to 1 if you have the <dlfcn.h> header file. */
#cmakedefine HAVE_DLFCN_H 1
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
#cmakedefine HAVE_DOPRNT 1
/* Define to 1 if you have the <errno.h> header file. */
#cmakedefine HAVE_ERRNO_H 1
/* Define to 1 if you have the <fcntl.h> header file. */
#cmakedefine HAVE_FCNTL_H 1
/* Define to 1 if you have the `fsync' function. */
#cmakedefine HAVE_FSYNC 1
/* Define to 1 if you have the <getopt.h> header file. */
#cmakedefine HAVE_GETOPT_H 1
/* Define to 1 if you have the `getpagesize' function. */
#cmakedefine HAVE_GETPAGESIZE 1
/* Define to 1 if you have the `getrlimit' function. */
#cmakedefine HAVE_GETRLIMIT 1
/* Define to 1 if you have the `gettimeofday' function. */
#cmakedefine HAVE_GETTIMEOFDAY
/* Define to 1 if you have the `H5free_memory' function. */
#cmakedefine HAVE_H5FREE_MEMORY
/* Define to 1 if you have the `H5Pget_fapl_mpio' function. */
#cmakedefine HAVE_H5PGET_FAPL_MPIO
/* Define to 1 if you have the `H5Pget_fapl_mpiposix' function. */
#cmakedefine HAVE_H5PGET_FAPL_MPIPOSIX
/* Define to 1 if you have the `H5Pset_deflate' function. */
#cmakedefine HAVE_H5PSET_DEFLATE
/* Define to 1 if you have the `H5Z_SZIP' function. */
#cmakedefine HAVE_H5Z_SZIP
/* Define to 1 if you have the <hdf5.h> header file. */
#cmakedefine HAVE_HDF5_H
/* Define to 1 if the system has the type `int64'. */
#cmakedefine HAVE_INT64
/* Define to 1 if you have the <inttypes.h> header file. */
#cmakedefine HAVE_INTTYPES_H
/* Define to 1 if you have the `df' library (-ldf). */
#cmakedefine HAVE_LIBDF
/* Define to 1 if you have the `dl' library (-ldl). */
#cmakedefine HAVE_LIBDL
2012-07-18 04:50:43 +08:00
/* Define to 1 if you have the `jpeg' library (-ljpeg). */
#cmakedefine HAVE_LIBJPEG
/* Define to 1 if you have the `m' library (-lm). */
#cmakedefine HAVE_LIBM
/* Define to 1 if you have the `mfhdf' library (-lmfhdf). */
#cmakedefine HAVE_LIBMFHDF
/* Define to 1 if you have the `pnetcdf' library (-lpnetcdf). */
#cmakedefine HAVE_LIBPNETCDF
2012-07-11 01:58:53 +08:00
/* Define to 1 if you have the <locale.h> header file. */
#cmakedefine HAVE_LOCALE_H
/* Define to 1 if the system has the type `longlong'. */
#cmakedefine HAVE_LONGLONG
/* Define to 1 if the system has the type 'long long int'. */
#cmakedefine HAVE_LONG_LONG_INT
/* Define to 1 if you have the <malloc.h> header file. */
#cmakedefine HAVE_MALLOC_H
/* Define to 1 if you have the `memcmp' function. */
#cmakedefine HAVE_MEMCMP
/* Define to 1 if you have the `memmove' function. */
#cmakedefine HAVE_MEMMOVE
/* Define to 1 if you have the <memory.h> header file. */
#cmakedefine HAVE_MEMORY_H
/* Define to 1 if you have the <mfhdf.h> header file. */
#cmakedefine HAVE_MFHDF_H
/* Define to 1 if you have the `mkstemp' function. */
#cmakedefine HAVE_MKSTEMP
/* Define to 1 if you have a working `mmap' system call. */
#cmakedefine HAVE_MMAP
/* Define to 1 if you have the `MPI_Comm_f2c' function. */
#cmakedefine HAVE_MPI_COMM_F2C
/* Define to 1 if you have the `mremap' function. */
#cmakedefine HAVE_MREMAP
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
#cmakedefine HAVE_NDIR_H
/* Define to 1 if the system has the type `ptrdiff_t'. */
#cmakedefine HAVE_PTRDIFF_T
/* Define to 1 if you have the `rand' function. */
#cmakedefine HAVE_RAND
/* Define to 1 if you have the `random' function. */
#cmakedefine HAVE_RANDOM
/* Define to 1 if the system has the type `size_t'. */
#cmakedefine HAVE_SIZE_T
/* Define to 1 if you have the `snprintf' function. */
#cmakedefine HAVE_SNPRINTF
/* Define to 1 if the system has the type `ssize_t'. */
#cmakedefine HAVE_SSIZE_T
/* Define to 1 if you have the <stdarg.h> header file. */
#cmakedefine HAVE_STDARG_H
/* Define to 1 if stdbool.h conforms to C99. */
#cmakedefine HAVE_STDBOOL_H
/* Define to 1 if you have the <stdint.h> header file. */
#cmakedefine HAVE_STDINT_H
/* Define to 1 if you have the <stdio.h> header file. */
#cmakedefine HAVE_STDIO_H
/* Define to 1 if you have the <stdlib.h> header file. */
#cmakedefine HAVE_STDLIB_H
/* Define to 1 if you have the `strcasecmp' function. */
#cmakedefine HAVE_STRCASECMP
/* Define to 1 if you have the `strcat' function. */
#cmakedefine HAVE_STRCAT
/* Define to 1 if you have the `strchr' function. */
#cmakedefine HAVE_STRCHR
/* Define to 1 if you have the `strcpy' function. */
#cmakedefine HAVE_STRCPY
/* Define to 1 if you have the `strdup' function. */
#cmakedefine HAVE_STRDUP
/* Define to 1 if you have the `strerror' function. */
#cmakedefine HAVE_STRERROR
/* Define to 1 if you have the <strings.h> header file. */
#cmakedefine HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#cmakedefine HAVE_STRING_H
2012-09-15 00:15:18 +08:00
/* Define to 1 if you have the `strlcat' function. */
#cmakedefine HAVE_STRLCAT
/* Define to 1 if you have the `strrchr' function. */
#cmakedefine HAVE_STRRCHR
/* Define to 1 if you have the `strstr' function. */
#cmakedefine HAVE_STRSTR
/* Define to 1 if you have the `strtod' function. */
#cmakedefine HAVE_STRTOD
/* Define to 1 if you have the `strtoll' function. */
#cmakedefine HAVE_STRTOLL
/* Define to 1 if you have the `strtoull' function. */
#cmakedefine HAVE_STRTOULL
/* Define to 1 if `st_blksize' is a member of `struct stat'. */
#cmakedefine HAVE_STRUCT_STAT_ST_BLKSIZE
/* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use
`HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */
#cmakedefine HAVE_ST_BLKSIZE
/* Define to 1 if you have the `sysconf' function. */
#cmakedefine HAVE_SYSCONF
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
#cmakedefine HAVE_SYS_DIR_H
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
#cmakedefine HAVE_SYS_NDIR_H
/* Define to 1 if you have the <sys/param.h> header file. */
#cmakedefine HAVE_SYS_PARAM_H
/* Define to 1 if you have the <sys/resource.h> header file. */
#cmakedefine HAVE_SYS_RESOURCE_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#cmakedefine HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/time.h> header file. */
#cmakedefine HAVE_SYS_TIME_H
2012-07-21 01:53:53 +08:00
/* Define to 1 if you have the <sys/types.h> header file. */
#cmakedefine HAVE_SYS_TYPES_H
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
#cmakedefine HAVE_SYS_WAIT_H
/* Define to 1 if the system has the type `uchar'. */
#cmakedefine HAVE_UCHAR
2012-07-18 04:50:43 +08:00
/* Define to 1 if the system has the type `uint'. */
#cmakedefine HAVE_UINT
2012-07-21 01:53:53 +08:00
/* Define to 1 if the system has the type `uint64'. */
#cmakedefine HAVE_UINT64
/* Define to 1 if you have the <unistd.h> header file. */
#cmakedefine HAVE_UNISTD_H
/* Define to 1 if the system has the type 'unsigned long long int'. */
#cmakedefine HAVE_UNSIGNED_LONG_LONG_INT
/* Define to 1 if the system has the type `ushort'. */
#cmakedefine HAVE_USHORT
/* Define to 1 if you have the `vprintf' function. */
#cmakedefine HAVE_VPRINTF
/* Define to 1 if the system has the type `_Bool'. */
#cmakedefine HAVE__BOOL
/* if true, H5free_memory() will be used to free hdf5-allocated memory in
nc4file. */
#cmakedefine HDF5_HAS_H5FREE
/* if true, netcdf4 file properties will be set using H5Pset_libver_bounds */
#cmakedefine HDF5_HAS_LIBVER_BOUNDS
/* if true, hdf5 has parallelism enabled */
#cmakedefine HDF5_PARALLEL
/* if true, include JNA bug fix */
#cmakedefine JNA
/* do large file tests */
#cmakedefine LARGE_FILE_TESTS
/* If true, turn on logging. */
#cmakedefine LOGGING
/* Define to the sub-directory where libtool stores uninstalled libraries. */
#cmakedefine LT_OBJDIR
/* max size of the default per-var chunk cache. */
#cmakedefine MAX_DEFAULT_CACHE_SIZE
/* min blocksize for posixio. */
#cmakedefine NCIO_MINBLOCKSIZE
/* no IEEE float on this platform */
#cmakedefine NO_IEEE_FLOAT
/* do not build the netCDF version 2 API */
#cmakedefine NO_NETCDF_2
/* no stdlib.h */
#cmakedefine NO_STDLIB_H
/* no sys_types.h */
#cmakedefine NO_SYS_TYPES_H
/* Name of package */
#cmakedefine PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#cmakedefine PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#cmakedefine PACKAGE_NAME
/* Define to the full name and version of this package. */
#cmakedefine PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#cmakedefine PACKAGE_TARNAME
/* Define to the home page for this package. */
#cmakedefine PACKAGE_URL
/* Define to the version of this package. */
#cmakedefine PACKAGE_VERSION
/* The size of `double', as computed by sizeof. */
#cmakedefine SIZEOF_DOUBLE
/* The size of `float', as computed by sizeof. */
#cmakedefine SIZEOF_FLOAT
/* The size of `int', as computed by sizeof. */
#cmakedefine SIZEOF_INT
/* The size of `long', as computed by sizeof. */
#cmakedefine SIZEOF_LONG
/* The size of `long long', as computed by sizeof. */
#cmakedefine SIZEOF_LONG_LONG
/* The size of `off_t', as computed by sizeof. */
#cmakedefine SIZEOF_OFF_T
/* The size of `ptrdiff_t', as computed by sizeof. */
#cmakedefine SIZEOF_PTRDIFF_T
/* The size of `short', as computed by sizeof. */
#cmakedefine SIZEOF_SHORT
/* The size of `size_t', as computed by sizeof. */
#cmakedefine SIZEOF_SIZE_T
/* The size of `uint', as computed by sizeof. */
#cmakedefine SIZEOF_UINT
/* The size of `unsigned int', as computed by sizeof. */
#cmakedefine SIZEOF_UNSIGNED_INT
/* The size of `unsigned long long', as computed by sizeof. */
#cmakedefine SIZEOF_UNSIGNED_LONG_LONG
/* The size of `unsigned short int', as computed by sizeof. */
#cmakedefine SIZEOF_UNSIGNED_SHORT_INT
/* The size of `ushort', as computed by sizeof. */
#cmakedefine SIZEOF_USHORT
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at runtime.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
#cmakedefine STACK_DIRECTION
/* Define to 1 if you have the ANSI C header files. */
#cmakedefine STDC_HEADERS
/* Place to put very large netCDF test files. */
#cmakedefine TEMP_LARGE
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#cmakedefine TIME_WITH_SYS_TIME
/* if true, build DAP Client */
#cmakedefine USE_DAP
/* if true, include NC_DISKLESS code */
#cmakedefine USE_DISKLESS
/* set this to use extreme numbers in tests */
#cmakedefine USE_EXTREME_NUMBERS
/* if true, use ffio instead of posixio */
#cmakedefine USE_FFIO
/* if true, include experimental fsync code */
#cmakedefine USE_FSYNC
/* if true, use HDF4 too */
#cmakedefine USE_HDF4
/* If true, use use wget to fetch some sample HDF4 data, and then test against
it. */
#cmakedefine USE_HDF4_FILE_TESTS
/* if true, enable dynamic loading support */
#cmakedefine USE_LIBDL
/* if true, use mmap for in-memory files */
#cmakedefine USE_MMAP
/* if true, build netCDF-4 */
#cmakedefine USE_NETCDF4
/* build the netCDF version 2 API */
#cmakedefine USE_NETCDF_2
/* if true, pnetcdf or parallel netcdf-4 is in use */
#cmakedefine USE_PARALLEL
/* if true, parallel netcdf-4 is in use */
#cmakedefine USE_PARALLEL4
/* if true, compile in parallel netCDF-4 based on MPI/IO */
#cmakedefine USE_PARALLEL_MPIO
/* if true, compile in parallel netCDF-4 based on MPI/POSIX */
#cmakedefine USE_PARALLEL_POSIX
/* if true, parallel netCDF is used */
#cmakedefine USE_PNETCDF
/* if true, use stdio instead of posixio */
#cmakedefine USE_STDIO
/* if true, compile in szip compression in netCDF-4 variables */
#cmakedefine USE_SZIP
/* if true, compile in zlib compression in netCDF-4 variables */
#cmakedefine USE_ZLIB
/* Version number of package */
#cmakedefine VERSION
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
# undef WORDS_BIGENDIAN
# endif
#endif
2015-12-23 03:02:18 +08:00
/* Enable large inode numbers on Mac OS X 10.5. */
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
#endif
2012-09-12 04:17:24 +08:00
/* Number of bits in a file offset, on hosts where this is settable. */
#cmakedefine _FILE_OFFSET_BITS
2012-07-24 03:40:08 +08:00
/* Define for large files, on AIX-style hosts. */
#cmakedefine _LARGE_FILES
2012-08-11 04:55:07 +08:00
/* Define to 1 if type `char' is unsigned and you are not using gcc. */
#ifndef __CHAR_UNSIGNED__
# undef __CHAR_UNSIGNED__
#endif
2012-08-11 04:55:07 +08:00
/* Define to empty if `const' does not conform to ANSI C. */
#cmakedefine const
2012-07-20 06:11:10 +08:00
/* Define to `long int' if <sys/types.h> does not define. */
#cmakedefine off_t
2012-07-11 01:58:53 +08:00
/* Define to `unsigned int' if <sys/types.h> does not define. */
#cmakedefine size_t
2012-08-11 04:55:07 +08:00
/* Define strcasecmp, snprintf on Win32 systems. */
#ifdef _WIN32
#define strcasecmp _stricmp
#define snprintf _snprintf
#endif
#include "ncconfigure.h"