diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2009-09-30 04:24:27 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2009-09-30 04:24:27 (GMT) |
commit | a228881ea7508dccdd863c270910bfc6370fcf2a (patch) | |
tree | 46c0f046d3b950e22f981a99f4d26a4ea82dbefa /fortran | |
parent | e35f27461437c7c66051afd909dbe29e7de5cf45 (diff) | |
download | hdf5-a228881ea7508dccdd863c270910bfc6370fcf2a.zip hdf5-a228881ea7508dccdd863c270910bfc6370fcf2a.tar.gz hdf5-a228881ea7508dccdd863c270910bfc6370fcf2a.tar.bz2 |
[svn-r17558] New feature(Bug 230):
Embed the content of libhdf5.settings into the hdf5 executables so that an
"orphaned" executables can display (via the Unix strings command, for example)
the library settings used to build the executables.
configure.in:
Added the --disable-embedded-libinfo option to disable this feature.
configure:
src/H5config.h.in:
fortran/configure
c++/configure
Generated by autotools like automake.
src/H5detect.c:
Implement insert_libhdf5_settings() to insert the contents of
libhdf5.settings into the library as an extern string variable so that it
is included in all HDF5 executable.
test/Makefile.in:
Added test scripts testlibinfo.sh and testcheck_version.sh, test program
tcheck_version. Needed to introduce $PROGS so that tcheck_version is
built but not run automatically.
test/testlibinfo.sh.in:
A new test added to verify the library information is indeed included
in the executables.
H5.c: added code to print the embedded library information when there is
a library versions mis-match occurs. This ensures the library information
string is included in the executable.
Also modifies the code so that the Library mismatch warning string is
included only once in the executable.
H5private.h:
Added a global reference to the libinfo string variable to prepare
for possible stage 3 implementation of a public API.
New test: (Bug ID 1656):
Add new tests (tcheck_version, testcheck_version.sh) to verify H5check_version()
does issue warnings and abort accordingly.
Changed H5check_version() to suppress the warning message totally if
$HDF5_DISABLE_VERSION_CHECK is 2 or higher. (Old behavior treated 3 or higher
the same as 1, that is to print a warning and allows the program to continue.
MANIFEST:
updated with the newly added files.
Tested:
h5committest passed. Also passed jam in serial mode, --enable-static-exec,
--disable-embedded-libinfo.
Diffstat (limited to 'fortran')
-rwxr-xr-x | fortran/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/configure b/fortran/configure index df336d9..ca8717f 100755 --- a/fortran/configure +++ b/fortran/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From fortran/configure.in Id: configure.in 17436 2009-08-30 19:21:21Z lrknox . +# From fortran/configure.in Id: configure.in 17539 2009-09-27 19:39:19Z lrknox . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for HDF5 Fortran 1.6.9-snap8. # |