diff options
author | Scott Wegner <swegner@hdfgroup.org> | 2008-08-06 17:18:47 (GMT) |
---|---|---|
committer | Scott Wegner <swegner@hdfgroup.org> | 2008-08-06 17:18:47 (GMT) |
commit | e47c44c04a4a603911c7220504234df3eae32807 (patch) | |
tree | 8abab77355f31c9f65ed4a59afa61062db4c635e | |
parent | 8ee8a3fde6e9052de594c7409656af90cba8ea8a (diff) | |
download | hdf5-e47c44c04a4a603911c7220504234df3eae32807.zip hdf5-e47c44c04a4a603911c7220504234df3eae32807.tar.gz hdf5-e47c44c04a4a603911c7220504234df3eae32807.tar.bz2 |
[svn-r15438] Purpose: Bring the Windows H5pubconf.h up-to-date
Description:
This commit is a major update to the Windows-maintained H5pubconf.h file. This file is statically-distributed because Windows cannot generate it dynamically as other platforms do. Previously, our Windows version contained a minimal subset of the macro definitions required. To update, I've gone through each macro (based on kagiso's output), and tested for the correct value on Windows. This allows us to better target code based on feature flags. It should also be easier to update in the future as changes are made to the configure script.
This commit also contains one small bug fix in h5ls.c. Some Windows-specific code was missing a local variable definition. The bug went unnoticed because Windows didn't define the feature flag correctly.
I've also made changes to the h5vers script. Whenever the version string is incremented (automatically by h5test after a snapshot), the strings in H5pubconf.h will also be updated.
Tested:
VS2005 on WinXP (32- and 64-bit)
VS.NET on WinXP 32-bit
h5vers tested under Cygwin
-rwxr-xr-x | bin/h5vers | 53 | ||||
-rw-r--r-- | tools/h5ls/h5ls.c | 2 | ||||
-rwxr-xr-x | windows/src/H5pubconf.h | 765 |
3 files changed, 665 insertions, 155 deletions
@@ -73,6 +73,8 @@ use strict; # something like: This is hdf5-1.2.3-pre1 currently under development. # The AC_INIT macro in configure.in will also change in this case to be # something like: AC_INIT([HDF5], [hdf5-1.2.3-pre1], [help@hdfgroup.org]) +# Version changes are also reflected in the Windows-maintained H5pubconf.h +# file. # # Whenever the version changes, this script will increment the revision # field in HDF5's libtool shared library version in config/lt_vers.am, @@ -157,9 +159,10 @@ while ($_ = shift) { die "mutually exclusive options given\n" if $set && $inc; # Determine file to use as H5public.h, README.txt, -# release_docs/RELEASE.txt, configure.in, and config/lt_vers.am. The -# README.txt, release_docs/RELEASE.txt, configure.in, and -# config/lt_vers.am files are always in the directory above H5public.h +# release_docs/RELEASE.txt, configure.in, windows/src/H5pubconf.h, +# and config/lt_vers.am. The README.txt, release_docs/RELEASE.txt, +# configure.in, windows/src/H5pubconf.h, and config/lt_vers.am +# files are always in the directory above H5public.h unless ($file) { for (@files) { ($file=$_,last) if -f $_; @@ -183,6 +186,10 @@ die "unable to read file: $RELEASE\n" unless -r $file; my $CONFIGURE = $file; $CONFIGURE =~ s/[^\/]*$/..\/configure.in/; die "unable to read file: $CONFIGURE\n" unless -r $file; +# windows/src/H5pubconf.h +my $H5PUBCONF = $file; +$H5PUBCONF =~ s/[^\/]*$/..\/windows\/src\/H5pubconf.h/; +die "unable to read file: $H5PUBCONF\n" unless -r $file; # Get the current version number. open FILE, $file or die "unable to open $file: $!\n"; @@ -230,6 +237,7 @@ if ($set) { $README = ""; $RELEASE = ""; $CONFIGURE = ""; + $H5PUBCONF = ""; $LT_VERS = ""; @newver = @curver; } @@ -341,6 +349,45 @@ sub gen_configure { # Update the configure.in files and regenerate them gen_configure("HDF5", $CONFIGURE) if $CONFIGURE; +sub gen_h5pubconf { + my ($name, $pubconf, @vers) = @_; + + my $namelc = lc($name); + my $nameuc = uc($name); + + open FILE, $pubconf or die "$pubconf: $!\n"; + my @contents = <FILE>; + close FILE; + + for (my $i = 0; $i < $#contents; ++$i) { + if ($contents[$i] =~ /\#\s*define\s+H5_PACKAGE\s+/) { + $contents[$i] = "\#define H5_PACKAGE \"$namelc\"\n"; + } elsif ($contents[$i] =~ /\#\s*define\s+H5_PACKAGE_NAME\s+/) { + $contents[$i] = "\#define H5_PACKAGE_NAME \"$namelc\"\n"; + } elsif ($contents[$i] =~ /\#\s*define\s+H5_PACKAGE_STRING\s+/) { + $contents[$i] = sprintf("\#define H5_PACKAGE_STRING \"$nameuc %d.%d.%d\"\n", + @vers[0,1,2]); + } elsif ($contents[$i] =~ /\#\s*define\s+H5_PACKAGE_TARNAME\s+/) { + $contents[$i] = "\#define H5_PACKAGE_TARNAME \"$namelc\"\n"; + } elsif ($contents[$i] =~ /\#\s*define\s+H5_PACKAGE_VERSION\s+/) { + $contents[$i] = sprintf("\#define H5_PACKAGE_VERSION \"%d.%d.%d\"\n", + @vers[0,1,2]); + } elsif ($contents[$i] =~ /\#\s*define\s+H5_VERSION\s+/) { + $contents[$i] = sprintf("\#define H5_VERSION \"%d.%d.%d\"\n", + @vers[0,1,2]); + } + } + + printf("opening file for writing"); + open FILE, ">$pubconf" or die "$pubconf: $!\n"; + print FILE "this is a test"; + print FILE @contents; + close FILE; +} + +# Update the Windows-maintained H5pubconf.h file +gen_h5pubconf("HDF5", $H5PUBCONF, @newver) if $H5PUBCONF; + # Print the new version number if ($verbose) { printf("version %d.%d release %d%s\n", @newver[0,1,2], diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c index 6545368..357dacf 100644 --- a/tools/h5ls/h5ls.c +++ b/tools/h5ls/h5ls.c @@ -1868,7 +1868,7 @@ get_width(void) { /* Win32 C */ CONSOLE_SCREEN_BUFFER_INFO scr; - GetConsoleScreenBufferInfo(con_out, &scr); + GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &scr); width = scr.srWindow.Right - scr.srWindow.Left + 1; } #elif defined(H5_HAVE__SCRSIZE) diff --git a/windows/src/H5pubconf.h b/windows/src/H5pubconf.h index 2ab12a1..649bc94 100755 --- a/windows/src/H5pubconf.h +++ b/windows/src/H5pubconf.h @@ -1,192 +1,642 @@ -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * Copyright by The HDF Group. * - * Copyright by the Board of Trustees of the University of Illinois. * - * All rights reserved. * - * * - * This file is part of HDF5. The full HDF5 copyright notice, including * - * terms governing use, modification, and redistribution, is contained in * - * the files COPYING and Copyright.html. COPYING can be found at the root * - * of the source code distribution tree; Copyright.html can be found at the * - * root level of an installed copy of the electronic HDF5 document set and * - * is linked from the top-level documents page. It can also be found at * - * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have * - * access to either file, you may request a copy from help@hdfgroup.org. * - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ - -/* H5pubconf.h is adapted from UNIX platform and manually maintained on the windows platform. */ - -#define H5_SIZEOF___INT64 8 -#define H5_SIZEOF_CHAR 1 -#define H5_SIZEOF_DOUBLE 8 -#define H5_SIZEOF_FLOAT 4 -#define H5_SIZEOF_INT 4 -#define H5_SIZEOF_LONG 4 -#define H5_SIZEOF_LONG_DOUBLE 8 -#define H5_SIZEOF_OFF_T 4 -#define H5_SIZEOF_SHORT 2 -#ifndef _WIN64 -#define H5_SIZEOF_SIZE_T 4 -#else -#define H5_SIZEOF_SIZE_T 8 -#endif +/* windows/src/H5pubconf.h. Adapted from generated Linux src/H5pubconf.h */ +/* src/H5config.h. Generated from H5config.h.in by configure. */ +/* src/H5config.h.in. Generated from configure.in by autoheader. */ -/*#if defined __INTEL_COMPILER -#define H5_SIZEOF_LONG_DOUBLE 12 -#else*/ -/*#endif*/ +/* + * Windows Specific Definitions + */ -/*#define H5_HAVE_TM_ZONE 1 windows do not use this constant.*/ -#define H5_MALLOC_WORKS 1 -#define H5_HAVE_TIMEZONE 1 +/* Define if the Windows virtual file driver should be compiled */ +#define H5_HAVE_WINDOWS 1 -/* code warrior returns 0 in malloc(0) */ -#if defined(__MWERKS__) -#undef H5_MALLOC_WORKS -#endif +/* Define if the Windows virtual file driver should use buffered IO functions */ +/* #undef WINDOWS_USE_STDIO */ -/* -code warrior v.8 does not allow shared writing by default; -the feature can be enabled by defining -_MSL_ALLOW_SHARED_WRITING to 1 -in the file file_io.win32.c and including it on the projects -*/ -#if defined(__MWERKS__) -#define H5_NO_SHARED_WRITING -#endif +/* Define the maximum write size for the Windows file driver. Larger writes + will be split into many writes. Safe values are 1 <= WINDOWS_MAX_BUF <= 2GB-1. */ +#define WINDOWS_MAX_BUF (1024 * 1024 * 1024) +/* + * End of Windows Specific Definitions + */ + +/* Define if your system generates wrong code for log2 routine. */ +/* #undef H5_BAD_LOG2_CODE_GENERATED */ -#define H5_STDC_HEADERS 1 -/* #define H5_HAVE_ATTRIBUTE 1 */ -#undef H5_HAVE_ATTRIBUTE -#define H5_HAVE_LARGE_HSIZET 1 -#ifdef __MWERKS__ -#define H5_PRINTF_LL_WIDTH "ll" -#else -#define H5_PRINTF_LL_WIDTH "I64" -#endif +/* Define if the memory buffers being written to disk should be cleared before + writing. */ +#define H5_CLEAR_MEMORY 1 + +/* Define if your system can handle converting denormalized floating-point + values. */ +#define H5_CONVERT_DENORMAL_FLOAT 1 + +/* Define if C++ compiler recognizes offsetof */ +#define H5_CXX_HAVE_OFFSETOF 1 + +/* Define the default virtual file driver to compile */ +#define H5_DEFAULT_VFD H5FD_WINDOWS + +/* Define if `dev_t' is a scalar */ +#define H5_DEV_T_IS_SCALAR 1 + +/* Define to dummy `main' function (if any) required to link to the Fortran + libraries. */ +/* #undef H5_FC_DUMMY_MAIN */ + +/* Define if F77 and FC dummy `main' functions are identical. */ +/* #undef H5_FC_DUMMY_MAIN_EQ_F77 */ + +/* Define to a macro mangling the given C identifier (in lower and upper + case), which must not contain underscores, for linking with Fortran. */ +#define H5_FC_FUNC(name,NAME) NAME + +/* As FC_FUNC, but for C identifiers containing underscores. */ +#define H5_FC_FUNC_(name,NAME) NAME + +/* Define if your system can handle overflow converting floating-point to + integer values. */ +#define H5_FP_TO_INTEGER_OVERFLOW_WORKS 1 + +/* Define if your system roundup accurately converting floating-point to + unsigned long long values. */ +#define H5_FP_TO_ULLONG_ACCURATE 1 -#define H5_HAVE___int64 +/* Define if your system has right maximum convert floating-point to unsigned + long long values. */ +/* #undef H5_FP_TO_ULLONG_RIGHT_MAXIMUM 1 */ +/* Define if gettimeofday() populates the tz pointer passed in */ +/* #undef H5_GETTIMEOFDAY_GIVES_TZ */ +/* Define to 1 if you have the `alarm' function. */ +/* #undef H5_HAVE_ALARM */ + +/* Define if the __attribute__(()) extension is present */ +/* #undef H5_HAVE_ATTRIBUTE */ + +/* Define to 1 if you have the `BSDgettimeofday' function. */ +/* #undef H5_HAVE_BSDGETTIMEOFDAY */ + +/* Define if the function stack tracing code is to be compiled in */ +/* #undef H5_HAVE_CODESTACK */ + +/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. + */ +#define H5_HAVE_DECL_TZNAME 1 + +/* Define to 1 if you have the `difftime' function. */ #define H5_HAVE_DIFFTIME 1 -#define H5_HAVE_FORK 1 + +/* Define if the direct I/O virtual file driver should be compiled */ +/* #undef H5_HAVE_DIRECT */ + +/* Define to 1 if you have the <dlfcn.h> header file. */ +/* #undef H5_HAVE_DLFCN_H */ + +/* Define to 1 if you have the <dmalloc.h> header file. */ +/* #undef H5_HAVE_DMALLOC_H */ + +/* Define to 1 if you have the <features.h> header file. */ +/* #undef H5_HAVE_FEATURES_H */ + +/* Define if support for deflate (zlib) filter is enabled */ +#define H5_HAVE_FILTER_DEFLATE 1 + +/* Define if support for Fletcher32 checksum is enabled */ +#define H5_HAVE_FILTER_FLETCHER32 1 + +/* Define if support for nbit filter is enabled */ +#define H5_HAVE_FILTER_NBIT 1 + +/* Define if support for scaleoffset filter is enabled */ +#define H5_HAVE_FILTER_SCALEOFFSET 1 + +/* Define if support for shuffle filter is enabled */ +#define H5_HAVE_FILTER_SHUFFLE 1 + +/* Define if support for szip filter is enabled */ +#define H5_HAVE_FILTER_SZIP 1 + +/* Define to 1 if you have the `fork' function. */ +/* #undef H5_HAVE_FORK */ + +/* Define to 1 if you have the `frexpf' function. */ +/* #undef H5_HAVE_FREXPF */ + +/* Define to 1 if you have the `frexpl' function. */ +/* #undef H5_HAVE_FREXPL */ + +/* Define to 1 if you have the `fseek64' function. */ +/* #undef H5_HAVE_FSEEK64 */ + +/* Define to 1 if you have the `fseeko' function. */ +/* #undef H5_HAVE_FSEEKO */ + +/* Define to 1 if you have the `fstat64' function. */ +/* #undef H5_HAVE_FSTAT64 */ + +/* Define to 1 if you have the `ftello' function. */ +/* #undef H5_HAVE_FTELLO */ + +/* Define if the compiler understand the __FUNCTION__ keyword */ +#define H5_HAVE_FUNCTION 1 + +/* Define to 1 if you have the `GetConsoleScreenBufferInfo' function. */ +#define H5_HAVE_GETCONSOLESCREENBUFFERINFO 1 + +/* Define to 1 if you have the `gethostname' function. */ #define H5_HAVE_GETHOSTNAME 1 -#define H5_HAVE_IOCTL 1 + +/* Define to 1 if you have the `getpwuid' function. */ +/* #undef H5_HAVE_GETPWUID */ + +/* Define to 1 if you have the `getrusage' function. */ +/* #define H5_HAVE_GETRUSAGE 1 */ + +/* Define to 1 if you have the `gettextinfo' function. */ +/* #undef H5_HAVE_GETTEXTINFO */ + +/* Define to 1 if you have the `gettimeofday' function. */ +/* #undef H5_HAVE_GETTIMEOFDAY */ + +/* Define to 1 if you have the `get_fpc_csr' function. */ +/* #undef H5_HAVE_GET_FPC_CSR */ + +/* Define if we have GPFS support */ +/* #undef H5_HAVE_GPFS */ + +/* Define to 1 if you have the <gpfs.h> header file. */ +/* #undef H5_HAVE_GPFS_H */ + +/* Define if library will contain instrumentation to detect correct + optimization operation */ +/* #undef H5_HAVE_INSTRUMENTED_LIBRARY */ + +/* Define to 1 if you have the <inttypes.h> header file. */ +/* #undef H5_HAVE_INTTYPES_H */ + +/* Define to 1 if you have the `ioctl' function. */ +/* #undef H5_HAVE_IOCTL */ + +/* Define to 1 if you have the <io.h> header file. */ +#define H5_HAVE_IO_H + +/* Define to 1 if you have the `dmalloc' library (-ldmalloc). */ +/* #undef H5_HAVE_LIBDMALLOC */ + +/* Define to 1 if you have the `lmpe' library (-llmpe). */ +/* #undef H5_HAVE_LIBLMPE */ + +/* Define to 1 if you have the `m' library (-lm). */ +/* #undef H5_HAVE_LIBM */ + +/* Define to 1 if you have the `mpe' library (-lmpe). */ +/* #undef H5_HAVE_LIBMPE */ + +/* Define to 1 if you have the `mpi' library (-lmpi). */ +/* #undef H5_HAVE_LIBMPI */ + +/* Define to 1 if you have the `mpich' library (-lmpich). */ +/* #undef H5_HAVE_LIBMPICH */ + +/* Define to 1 if you have the `mpio' library (-lmpio). */ +/* #undef H5_HAVE_LIBMPIO */ + +/* Define to 1 if you have the `nsl' library (-lnsl). */ +/* #undef H5_HAVE_LIBNSL */ + +/* Define to 1 if you have the `pthread' library (-lpthread). */ +/* #undef H5_HAVE_LIBPTHREAD */ + +/* Define to 1 if you have the `socket' library (-lsocket). */ +/* #undef H5_HAVE_LIBSOCKET */ + +/* Define to 1 if you have the `sz' library (-lsz). */ +/* #undef H5_HAVE_LIBSZ */ + +/* Define to 1 if you have the `z' library (-lz). */ +/* #undef H5_HAVE_LIBZ */ + +/* Define to 1 if you have the `longjmp' function. */ #define H5_HAVE_LONGJMP 1 -#define H5_HAVE_SIGACTION 1 + +/* Define to 1 if you have the `lseek64' function. */ +/* #undef H5_HAVE_LSEEK64 */ + +/* Define to 1 if you have the <memory.h> header file. */ +#define H5_HAVE_MEMORY_H 1 + +/* Define if we have MPE support */ +/* #undef H5_HAVE_MPE */ + +/* Define to 1 if you have the <mpe.h> header file. */ +/* #undef H5_HAVE_MPE_H */ + +/* Define if MPI_File_get_size works correctly */ +#define H5_HAVE_MPI_GET_SIZE 1 + +/* Define if `MPI_Comm_c2f' and `MPI_Comm_f2c' exists */ +/* #undef H5_HAVE_MPI_MULTI_LANG_Comm */ + +/* Define if `MPI_Info_c2f' and `MPI_Info_f2c' exists */ +/* #undef H5_HAVE_MPI_MULTI_LANG_Info */ + +/* Define if we have parallel support */ +/* #undef H5_HAVE_PARALLEL */ + +/* Define to 1 if you have the <pthread.h> header file. */ +/* #undef H5_HAVE_PTHREAD_H */ + +/* Define to 1 if you have the `random' function. */ +/* #undef H5_HAVE_RANDOM */ + +/* Define to 1 if you have the `rand_r' function. */ +/* #undef H5_HAVE_RAND_R */ + +/* Define to 1 if you have the <setjmp.h> header file. */ +#define H5_HAVE_SETJMP_H 1 + +/* Define to 1 if you have the `setsysinfo' function. */ +/* #undef H5_HAVE_SETSYSINFO */ + +/* Define to 1 if you have the `sigaction' function. */ +/* #undef H5_HAVE_SIGACTION */ + +/* Define to 1 if you have the `siglongjmp' function. */ +/* #undef H5_HAVE_SIGLONGJMP */ + +/* Define to 1 if you have the `signal' function. */ #define H5_HAVE_SIGNAL 1 -#define H5_HAVE_SNPRINTF 1 + +/* Define to 1 if you have the `snprintf' function. */ +/* #undef H5_HAVE_SNPRINTF */ + +/* Define to 1 if you have the `srandom' function. */ +/* #undef H5_HAVE_SRANDOM */ + +/* Define to 1 if you have the `stat64' function. */ +/* #undef H5_HAVE_STAT64 */ + +/* Define if `struct stat' has the `st_blocks' field */ +/* #undef H5_HAVE_STAT_ST_BLOCKS */ + +/* Define to 1 if you have the <stddef.h> header file. */ +#define H5_HAVE_STDDEF_H 1 + +/* Define to 1 if you have the <stdint.h> header file. */ +/* #undef H5_HAVE_STDINT_H */ + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define H5_HAVE_STDLIB_H 1 + +/* Define to 1 if you have the `strdup' function. */ #define H5_HAVE_STRDUP 1 + +/* Define to 1 if you have the <strings.h> header file. */ +/* #undef H5_HAVE_STRINGS_H */ + +/* Define to 1 if you have the <string.h> header file. */ +#define H5_HAVE_STRING_H 1 + +/* Define if `struct text_info' is defined */ +/* #undef H5_HAVE_STRUCT_TEXT_INFO */ + +/* Define if `struct timezone' is defined */ +/* #undef H5_HAVE_STRUCT_TIMEZONE */ + +/* Define to 1 if `tm_zone' is member of `struct tm'. */ +/* #undef H5_HAVE_STRUCT_TM_TM_ZONE */ + +/* Define if `struct videoconfig' is defined */ +/* #undef H5_HAVE_STRUCT_VIDEOCONFIG */ + +/* Define to 1 if you have the `system' function. */ #define H5_HAVE_SYSTEM 1 -#define H5_HAVE_VSNPRINTF 1 -#define H5_HAVE_IO_H 1 -#define H5_HAVE_SETJMP_H 1 -#define H5_HAVE_STDDEF_H 1 + +/* Define to 1 if you have the <sys/fpu.h> header file. */ +/* #undef H5_HAVE_SYS_FPU_H */ + +/* Define to 1 if you have the <sys/ioctl.h> header file. */ +/* #undef H5_HAVE_SYS_IOCTL_H */ + +/* Define to 1 if you have the <sys/proc.h> header file. */ +/* #undef H5_HAVE_SYS_PROC_H */ + +/* Define to 1 if you have the <sys/resource.h> header file. */ +/* #undef H5_HAVE_SYS_RESOURCE_H */ + +/* Define to 1 if you have the <sys/socket.h> header file. */ +/* #undef H5_HAVE_SYS_SOCKET_H */ + +/* Define to 1 if you have the <sys/stat.h> header file. */ #define H5_HAVE_SYS_STAT_H 1 -#define H5_HAVE_SYS_TIMEB 1 + +/* Define to 1 if you have the <sys/sysinfo.h> header file. */ +/* #undef H5_HAVE_SYS_SYSINFO_H */ + +/* Define to 1 if you have the <sys/timeb.h> header file. */ +#define H5_HAVE_SYS_TIMEB_H 1 + +/* Define to 1 if you have the <sys/time.h> header file. */ +/* #undef H5_HAVE_SYS_TIME_H */ + +/* Define to 1 if you have the <sys/types.h> header file. */ #define H5_HAVE_SYS_TYPES_H 1 -#define H5_HAVE_WINSOCK_H 1 -#define H5_HAVE_STATI64 1 - /* These 64-bit functions are only supported in .NET Framework 2.0 or later */ - #if _MSC_VER >= 1400 - #define H5_HAVE_FSEEKI64 1 - #define H5_HAVE_CHSIZE_S 1 - #define H5_HAVE_FTELLI64 1 - #endif /* _MSC_VER >= 1400 */ +/* Define to 1 if you have the <szlib.h> header file. */ +#define H5_HAVE_SZLIB_H 1 -/* comment the following line out if the memory buffers being written to - disk should not be cleared before writing. */ -#define H5_CLEAR_MEMORY 1 +/* Define if we have thread safe support */ +/* #undef H5_HAVE_THREADSAFE */ -/* comment the following line out if you are not using check sum filter*/ -#define H5_HAVE_FILTER_FLETCHER32 1 +/* Define if `timezone' is a global variable */ +#define H5_HAVE_TIMEZONE 1 -/* comment the following line out if you are not using shuffle filter*/ -#define H5_HAVE_FILTER_SHUFFLE 1 +/* Define if the ioctl TIOCGETD is defined */ +/* #undef H5_HAVE_TIOCGETD */ -/* comment the following line out if you are not using N-bit filter*/ -#define H5_HAVE_FILTER_NBIT 1 +/* Define if the ioctl TIOGWINSZ is defined */ +/* #undef H5_HAVE_TIOCGWINSZ */ -/* comment the following line out if you are not using N-bit filter*/ -#define H5_HAVE_FILTER_SCALEOFFSET 1 +/* Define to 1 if you have the `tmpfile' function. */ +#define H5_HAVE_TMPFILE 1 -/* comment the following two lines out if you are not using deflate(gzip) filter*/ -#define H5_HAVE_FILTER_DEFLATE 1 +/* Define if `tm_gmtoff' is a member of `struct tm' */ +/* #undef H5_HAVE_TM_GMTOFF */ + +/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use + `HAVE_STRUCT_TM_TM_ZONE' instead. */ +/* #undef H5_HAVE_TM_ZONE */ + +/* Define to 1 if you don't have `tm_zone' but do have the external array + `tzname'. */ +#define H5_HAVE_TZNAME 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +/* #undef H5_HAVE_UNISTD_H */ + +/* Define to 1 if you have the `vasprintf' function. */ +/* #undef H5_HAVE_VASPRINTF */ + +/* Define to 1 if you have the `vsnprintf' function. */ +/* #undef H5_HAVE_VSNPRINTF */ + +/* Define to 1 if you have the `waitpid' function. */ +/* #undef H5_HAVE_WAITPID */ + +/* Define if your system has window style path name. */ +#define H5_HAVE_WINDOW_PATH 1 + +/* Define to 1 if you have the <winsock.h> header file. */ +#define H5_HAVE_WINSOCK_H 1 + +/* Define to 1 if you have the <zlib.h> header file. */ #define H5_HAVE_ZLIB_H 1 -/* comment the following two lines out if you are not using szip filter*/ -#define H5_HAVE_SZLIB_H 1 -#define H5_HAVE_FILTER_SZIP 1 +/* Define to 1 if you have the `_getvideoconfig' function. */ +/* #undef H5_HAVE__GETVIDEOCONFIG */ -/* change the following line if you would like to change the default file driver */ -#define H5_DEFAULT_VFD H5FD_WINDOWS +/* Define to 1 if you have the `_scrsize' function. */ +/* #undef H5_HAVE__SCRSIZE */ -/* comment the following line out if you don't want to build the windows file - driver */ -#define H5_HAVE_WINDOWS 1 +/* Define if `__tm_gmtoff' is a member of `struct tm' */ +/* #undef H5_HAVE___TM_GMTOFF */ -#ifdef H5_HAVE_WINDOWS +/* Define if your system can't handle converting floating-point values to long + long. */ +/* #undef H5_HW_FP_TO_LLONG_NOT_WORKS */ -/* uncomment the following line if you would like to use the buffered stdio - functions in the Windows file driver. */ -// #define WINDOWS_USE_STDIO 1 +/* Define if HDF5's high-level library headers should be included in hdf5.h */ +#define H5_INCLUDE_HL 1 -/* this value controls the maximum data written in one write call in the - * Windows file driver. Safe values are between 1 <= IO_BUF_SIZE <= 2GB-1. - * The default is 1GB. */ -#define WINDOWS_MAX_BUF 1073741824 +/* Define if your system can accurately convert from integers to long double + values. */ +#define H5_INTEGER_TO_LDOUBLE_ACCURATE 1 -#endif /* H5_HAVE_WINDOWS */ +/* Define if your system can convert long double to integers accurately. */ +#define H5_LDOUBLE_TO_INTEGER_ACCURATE 1 -/* This definition is used for alterative handelling and testing of Windows -paths. This shouldn't need to be commented or removed. */ -#define H5_HAVE_WINDOW_PATH 1 +/* Define if your system can convert from long double to integer values. */ +#define H5_LDOUBLE_TO_INTEGER_WORKS 1 + +/* Define if your system can convert long double to (unsigned) long long + values correctly. */ +#define H5_LDOUBLE_TO_LLONG_ACCURATE 1 + +/* Define if your system can convert long double to unsigned int values + correctly. */ +#define H5_LDOUBLE_TO_UINT_ACCURATE 1 + +/* Define if your system can compile long long to floating-point casts. */ +#define H5_LLONG_TO_FP_CAST_WORKS 1 + +/* Define if your system can convert (unsigned) long long to long double + values correctly. */ +#define H5_LLONG_TO_LDOUBLE_CORRECT 1 + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#define H5_LT_OBJDIR ".libs/" + +/* Define if the metadata trace file code is to be compiled in */ +/* #undef H5_METADATA_TRACE_FILE */ + +/* Define if your system can handle complicated MPI derived datatype + correctly. */ +#define H5_MPI_COMPLEX_DERIVED_DATATYPE_WORKS 1 + +/* Define if your system's `MPI_File_set_size' function works for files over + 2GB. */ +#define H5_MPI_FILE_SET_SIZE_BIG 1 + +/* Define if your system can handle special collective IO properly. */ +#define H5_MPI_SPECIAL_COLLECTIVE_IO_WORKS 1 -/* comment the following line out if you are not using N-bit filter*/ -/* #define H5_HAVE_FILTER_NBIT 1*/ +/* Define if deprecated public API symbols are disabled */ +/* #undef H5_NO_DEPRECATED_SYMBOLS */ -#if defined(__MWERKS__) || defined(__cplusplus) -#define H5_inline inline +/* Define if shared writing must be disabled (CodeWarrior only) */ +/* #undef H5_NO_SHARED_WRITING */ + +/* Name of package */ +#define H5_PACKAGE "hdf5" + +/* Define to the address where bug reports for this package should be sent. */ +#define H5_PACKAGE_BUGREPORT "help@hdfgroup.org" + +/* Define to the full name of this package. */ +#define H5_PACKAGE_NAME "HDF5" + +/* Define to the full name and version of this package. */ +#define H5_PACKAGE_STRING "HDF5 1.9.13" + +/* Define to the one symbol short name of this package. */ +#define H5_PACKAGE_TARNAME "hdf5" + +/* Define to the version of this package. */ +#define H5_PACKAGE_VERSION "1.9.13" + +/* Width for printf() for type `long long' or `__int64', use `ll' */ +#define H5_PRINTF_LL_WIDTH "I64" + +/* The size of `char', as computed by sizeof. */ +#define H5_SIZEOF_CHAR 1 + +/* The size of `double', as computed by sizeof. */ +#define H5_SIZEOF_DOUBLE 8 + +/* The size of `float', as computed by sizeof. */ +#define H5_SIZEOF_FLOAT 4 + +/* The size of `int', as computed by sizeof. */ +#define H5_SIZEOF_INT 4 + +/* The size of `int16_t', as computed by sizeof. */ +#define H5_SIZEOF_INT16_T 0 + +/* The size of `int32_t', as computed by sizeof. */ +#define H5_SIZEOF_INT32_T 0 + +/* The size of `int64_t', as computed by sizeof. */ +#define H5_SIZEOF_INT64_T 0 + +/* The size of `int8_t', as computed by sizeof. */ +#define H5_SIZEOF_INT8_T 0 + +/* The size of `int_fast16_t', as computed by sizeof. */ +#define H5_SIZEOF_INT_FAST16_T 0 + +/* The size of `int_fast32_t', as computed by sizeof. */ +#define H5_SIZEOF_INT_FAST32_T 0 + +/* The size of `int_fast64_t', as computed by sizeof. */ +#define H5_SIZEOF_INT_FAST64_T 0 + +/* The size of `int_fast8_t', as computed by sizeof. */ +#define H5_SIZEOF_INT_FAST8_T 0 + +/* The size of `int_least16_t', as computed by sizeof. */ +#define H5_SIZEOF_INT_LEAST16_T 0 + +/* The size of `int_least32_t', as computed by sizeof. */ +#define H5_SIZEOF_INT_LEAST32_T 0 + +/* The size of `int_least64_t', as computed by sizeof. */ +#define H5_SIZEOF_INT_LEAST64_T 0 + +/* The size of `int_least8_t', as computed by sizeof. */ +#define H5_SIZEOF_INT_LEAST8_T 0 + +/* The size of `long', as computed by sizeof. */ +#define H5_SIZEOF_LONG 4 + +/* The size of `long double', as computed by sizeof. */ +#define H5_SIZEOF_LONG_DOUBLE 8 + +/* The size of `long long', as computed by sizeof. */ +#define H5_SIZEOF_LONG_LONG 8 + +/* The size of `off64_t', as computed by sizeof. */ +#define H5_SIZEOF_OFF64_T 0 + +/* The size of `off_t', as computed by sizeof. */ +#define H5_SIZEOF_OFF_T 4 + +/* The size of `short', as computed by sizeof. */ +#define H5_SIZEOF_SHORT 2 + +/* The size of `size_t', as computed by sizeof. */ +#ifndef _WIN64 +#define H5_SIZEOF_SIZE_T 4 #else -#define H5_inline __inline -#endif +#define H5_SIZEOF_SIZE_T 8 +#endif /* _WIN64 */ -#if _MSC_VER >= 1300 /* .Net supports FUNCTION */ -#define H5_HAVE_FUNCTION 1 +/* The size of `ssize_t', as computed by sizeof. */ +#define H5_SIZEOF_SSIZE_T 0 + +/* The size of `uint16_t', as computed by sizeof. */ +#define H5_SIZEOF_UINT16_T 0 + +/* The size of `uint32_t', as computed by sizeof. */ +#define H5_SIZEOF_UINT32_T 0 + +/* The size of `uint64_t', as computed by sizeof. */ +#define H5_SIZEOF_UINT64_T 0 + +/* The size of `uint8_t', as computed by sizeof. */ +#define H5_SIZEOF_UINT8_T 0 + +/* The size of `uint_fast16_t', as computed by sizeof. */ +#define H5_SIZEOF_UINT_FAST16_T 0 + +/* The size of `uint_fast32_t', as computed by sizeof. */ +#define H5_SIZEOF_UINT_FAST32_T 0 + +/* The size of `uint_fast64_t', as computed by sizeof. */ +#define H5_SIZEOF_UINT_FAST64_T 0 + +/* The size of `uint_fast8_t', as computed by sizeof. */ +#define H5_SIZEOF_UINT_FAST8_T 0 + +/* The size of `uint_least16_t', as computed by sizeof. */ +#define H5_SIZEOF_UINT_LEAST16_T 0 + +/* The size of `uint_least32_t', as computed by sizeof. */ +#define H5_SIZEOF_UINT_LEAST32_T 0 + +/* The size of `uint_least64_t', as computed by sizeof. */ +#define H5_SIZEOF_UINT_LEAST64_T 0 + +/* The size of `uint_least8_t', as computed by sizeof. */ +#define H5_SIZEOF_UINT_LEAST8_T 0 + +/* The size of `__int64', as computed by sizeof. */ +#define H5_SIZEOF___INT64 8 + +/* Define to 1 if you have the ANSI C header files. */ +#define H5_STDC_HEADERS 1 + +/* Define if strict file format checks are enabled */ +/* #undef H5_STRICT_FORMAT_CHECKS */ + +/* Define if your system supports pthread_attr_setscope(&attribute, + PTHREAD_SCOPE_SYSTEM) call. */ +#define H5_SYSTEM_SCOPE_THREADS 1 + +/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ +/* #undef H5_TIME_WITH_SYS_TIME */ + +/* Define to 1 if your <sys/time.h> declares `struct tm'. */ +/* #undef H5_TM_IN_SYS_TIME */ + +/* Define if your system can compile unsigned long long to floating-point + casts. */ #define H5_ULLONG_TO_FP_CAST_WORKS 1 -#define H5_HW_FP_TO_LLONG_NOT_WORKS 1 -#if defined __INTEL_COMPILER -#undef H5_LLONG_TO_FP_CAST_WORKS -#else -/*#define H5_LLONG_TO_FP_CAST_WORKS*/ -#endif -#else -#undef H5_HAVE_FUNCTION -#undef H5_ULLONG_TO_FP_CAST_WORKS -#define H5_LLONG_TO_FP_CAST_WORKS -#endif +/* Define if your system can convert unsigned long long to long double with + correct precision. */ +#define H5_ULLONG_TO_LDOUBLE_PRECISION 1 -#define H5_FC_FUNC_(name, NAME) NAME -#define FC_FUNC_(name, NAME) NAME +/* Define if your system can accurately convert unsigned (long) long values to + floating-point values. */ +/* #undef H5_ULONG_TO_FP_BOTTOM_BIT_ACCURATE */ -#define H5_HAVE_TMPFILE 1 +/* Define using v1.6 public API symbols by default */ +/* #undef H5_USE_16_API */ -/*Users want to build and test hdf5 library with thread safe enabled, - Make the following block active -*/ +/* Define if a memory checking tool will be used on the library, to cause + library to be very picky about memory operations and also disable the + internal free list manager code. */ +/* #undef H5_USING_MEMCHECKER */ -/* (Remove the comment signs to enable thread safe on windows) -#if defined _DLL -#define H5_HAVE_THREADSAFE 1 -#define H5_HAVE_SYSTEM_SCOPE_THREADS 1 -#if defined TTSAFE_H -#define sleep Sleep -#endif -#endif -*/ +/* Version number of package */ +#define H5_VERSION "1.9.13" +/* Define if vsnprintf() returns the correct value for formatted strings that + don't fit into size allowed */ +/* #undef H5_VSNPRINTF_WORKS */ /* Data accuracy is prefered to speed during data conversions */ #define H5_WANT_DATA_ACCURACY 1 @@ -194,11 +644,24 @@ paths. This shouldn't need to be commented or removed. */ /* Check exception handling functions during data conversions */ #define H5_WANT_DCONV_EXCEPTION 1 +/* Define to 1 if your processor stores words with the most significant byte + first (like Motorola and SPARC, unlike Intel and VAX). */ +/* #undef H5_WORDS_BIGENDIAN */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef H5_const */ + +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus +#define H5_inline __inline +#endif + +/* Define to `long int' if <sys/types.h> does not define. */ +/* #undef H5_off_t */ -/* uncomment the following line if we want parallel HDF5 support */ -/* #define H5_HAVE_PARALLEL */ +/* Define to `unsigned long' if <sys/types.h> does not define. */ +/* #undef H5_size_t */ -/* uncomment the following line if you need the library to perform "strict" - memory operations, which is useful when debugging with a memory checking - tool like Purify, etc. */ -/* #define H5_USING_MEMCHECKER 1 */ +/* Define to `long' if <sys/types.h> does not define. */ +#define H5_ssize_t long |