summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2009-04-21 02:02:46 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2009-04-21 02:02:46 (GMT)
commit9bca9d684bd7d5179f30fb92afa9dee1e53f69cd (patch)
tree477a51a4748744a839ad3cab9a7c8420a8ba5095 /configure.in
parentc60f5a8429f47fd8f0b013dc1a87b7f33eb6da95 (diff)
downloadhdf5-9bca9d684bd7d5179f30fb92afa9dee1e53f69cd.zip
hdf5-9bca9d684bd7d5179f30fb92afa9dee1e53f69cd.tar.gz
hdf5-9bca9d684bd7d5179f30fb92afa9dee1e53f69cd.tar.bz2
[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.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 57632d5..37f7b4c 100644
--- a/configure.in
+++ b/configure.in
@@ -3796,6 +3796,25 @@ esac
dnl ----------------------------------------------------------------------
+dnl Enable embedded library information
+dnl
+AC_MSG_CHECKING([Whether to have library information embedded in the executables])
+AC_ARG_ENABLE([embedded-libinfo],
+ [AC_HELP_STRING([--enable-embedded-libinfo],
+ [Enable embedded library information [default=yes]])],
+ [enable_embedded_libinfo=$enableval],
+ [enable_embedded_libinfo=yes])
+
+ if test "${enable_embedded_libinfo}" = "yes"; then
+ AC_MSG_RESULT([yes])
+ AC_DEFINE([HAVE_EMBEDDED_LIBINFO], [1],
+ [Define if library information should be embedded in the executables])
+ else
+ AC_MSG_RESULT([no])
+ fi
+
+
+dnl ----------------------------------------------------------------------
dnl Check if pointer alignments are enforced
dnl
AC_MSG_CHECKING([if alignment restrictions are strictly enforced])