/* libsrc/ncconfig.in. Generated automatically from configure.in by autoheader. */ /* Id */ #ifndef _NCCONFIG_H_ #define _NCCONFIG_H_ #include "vtk_netcdf_config.h" #include "vtk_netcdf_mangle.h" /* Version number of package */ #define PACKAGE_VERSION "@VERSION@" #ifdef vtkNetCDF_EXPORTS # define DLL_EXPORT #endif /* Define if you're on an HP-UX system. */ #cmakedefine _HPUX_SOURCE /* Define if type char is unsigned and you are not using gcc. */ #ifndef __CHAR_UNSIGNED__ #cmakedefine __CHAR_UNSIGNED__ #endif /* Define if your struct stat has st_blksize. */ #cmakedefine HAVE_ST_BLKSIZE @HAVE_ST_BLKSIZE@ /* Define to `long' if doesn't define. */ #cmakedefine off_t @off_t@ /* Define to `unsigned' if doesn't define. */ #cmakedefine size_t @size_t@ /* Define if you have the ANSI C header files. */ #ifndef STDC_HEADERS #cmakedefine STDC_HEADERS @STDC_HEADERS@ #endif /* Define if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ /* All compilers that support Mac OS X define either __BIG_ENDIAN__ or __LITTLE_ENDIAN__ to match the endianness of the architecture being compiled for. This is not necessarily the same as the architecture of the machine doing the building. In order to support Universal Binaries on Mac OS X, we prefer those defines to decide the endianness. On other platforms we use the result of the TRY_RUN. */ #if !defined(__APPLE__) #cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@ #elif defined(__BIG_ENDIAN__) # define WORDS_BIGENDIAN 1 #endif /* Define if you have */ #cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@ /* Define if you have */ #cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@ /* Define if you don't have the . */ #cmakedefine NO_STDLIB_H @NO_STDLIB_H@ /* Define if you don't have the . */ #cmakedefine NO_SYS_TYPES_H @NO_SYS_TYPES_H@ /* Define if you have the ftruncate function */ #cmakedefine HAVE_FTRUNCATE @HAVE_FTRUNCATE@ /* Define if you have alloca, as a function or macro. */ #cmakedefine HAVE_ALLOCA @HAVE_ALLOCA@ /* Define if you have and it should be used (not on Ultrix). */ #cmakedefine HAVE_ALLOCA_H @HAVE_ALLOCA_H@ /* Define if you have and it should be used (not on Ultrix). */ #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@ /* Define if stdbool.h conforms to C99. */ #cmakedefine HAVE_STDBOOL_H @HAVE_STDBOOL_H@ /* Define if you don't have the strerror function */ #cmakedefine NO_STRERROR @NO_STRERROR@ /* Define if you have the strerror function */ #cmakedefine HAVE_STRERROR @HAVE_STRERROR@ /* Define if you want to use c++ API to netcdf3. */ #cmakedefine CXX /* Define if you want to use netcdf4. */ #cmakedefine USE_NETCDF4 /* We do not support these pieces of netcdf yet. */ #undef cxx4 #undef UDUNITS #undef LIBCF #undef LIBCDMR #undef USE_DAP #undef USE_HDF4 #undef USE_PNETCDF /* The hdf5 in vtk has 1.6 API so we have to set this to use it. */ #define H5_USE_16_API /* Define if you have the header file. */ #cmakedefine HAVE_HDF5_H /* Define if you have the `hdf5' library (-lhdf5). */ #cmakedefine HAVE_LIBHDF5 /* Define if you have the `hdf5_hl' library (-lhdf5_hl). */ #cmakedefine HAVE_LIBHDF5_HL /* Define to `int' if system doesn't define. */ #cmakedefine ssize_t @ssize_t@ /* Define to `int' if system doesn't define. */ #cmakedefine ptrdiff_t @ptrdiff_t@ /* Define to 1 if the system has the type uchar. */ #cmakedefine HAVE_UCHAR /* Define to 1 if the system has the type `_Bool'. */ #cmakedefine HAVE__BOOL /* Define if the system does not use IEEE floating point representation */ #cmakedefine NO_IEEE_FLOAT @NO_IEEE_FLOAT@ /* Size of fundamental data types. */ /* Mac OS X uses two data models, ILP32 (in which integers, long integers, and pointers are 32-bit quantities) and LP64 (in which integers are 32-bit quantities and long integers and pointers are 64-bit quantities). In order to support Universal Binaries on Mac OS X, we rely on this knowledge instead of testing the sizes of the building machine. On other platforms we use the result of the TRY_RUN. */ #if !defined(__APPLE__) #cmakedefine SIZEOF_SHORT @SIZEOF_SHORT@ #cmakedefine SIZEOF_INT @SIZEOF_INT@ #cmakedefine SIZEOF_LONG @SIZEOF_LONG@ #cmakedefine SIZEOF_FLOAT @SIZEOF_FLOAT@ #cmakedefine SIZEOF_DOUBLE @SIZEOF_DOUBLE@ #cmakedefine SIZEOF_SIZE_T @SIZEOF_SIZE_T@ #cmakedefine SIZEOF_OFF_T @SIZEOF_OFF_T@ #else # define SIZEOF_SHORT 2 # define SIZEOF_INT 4 # if defined(__LP64__) && __LP64__ # define SIZEOF_LONG 8 # define SIZEOF_SIZE_T 8 # else # define SIZEOF_LONG 4 # define SIZEOF_SIZE_T 4 # endif # define SIZEOF_FLOAT 4 # define SIZEOF_DOUBLE 8 # define SIZEOF_OFF_T 8 #endif /* netcdf4's hdf5 cache parameters */ #define DEFAULT_CHUNK_SIZE @NETCDF4_DEFAULT_CHUNK_SIZE@ #define MAX_DEFAULT_CACHE_SIZE @NETCDF4_MAX_DEFAULT_CACHE_SIZE@ #define DEFAULT_CHUNKS_IN_CACHE @NETCDF4_DEFAULT_CHUNKS_IN_CACHE@ #define CHUNK_CACHE_SIZE @NETCDF4_CHUNK_CACHE_SIZE@ #define CHUNK_CACHE_NELEMS @NETCDF4_CHUNK_CACHE_NELEMS@ #define CHUNK_CACHE_PREEMPTION @NETCDF4_CHUNK_CACHE_PREEMPTION@ #endif /* !_NCCONFIG_H_ */