[svn-r16814] 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.

This is a prototype implementation. Much improvement is needed.

configure.in:
    Added the --disable-embedded-libinfo option to disable this feature.
configure:
src/H5config.h.in:
    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.  Much improvement is needed.
fortran/src/Makefile.in:
    Auto-generated by bin/reconfigure. (i.e., I did make any changes to cause
    its direct regeneration).

Tested:
Jam serial, using default and --disable-embedded-libinfo, configure options.
This commit is contained in:
Albert Cheng
2009-04-20 21:02:46 -05:00
parent c60f5a8429
commit 9bca9d684b
5 changed files with 139 additions and 27 deletions

View File

@@ -84,6 +84,9 @@
/* Define to 1 if you have the <dmalloc.h> header file. */
#undef HAVE_DMALLOC_H
/* Define if library information should be embedded in the executables */
#undef HAVE_EMBEDDED_LIBINFO
/* Define to 1 if you have the <features.h> header file. */
#undef HAVE_FEATURES_H