summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-11-13 21:25:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-11-13 21:25:12 (GMT)
commit2da4c9cfaa3cd17c3d189e4650097e8a2e07f010 (patch)
treed37c83027cac5b920d22aec9c97a87792b199ed7 /configure.in
parentd1b421f1959b5d6a5b3524535b1f7bc7e1a99388 (diff)
downloadhdf5-2da4c9cfaa3cd17c3d189e4650097e8a2e07f010.zip
hdf5-2da4c9cfaa3cd17c3d189e4650097e8a2e07f010.tar.gz
hdf5-2da4c9cfaa3cd17c3d189e4650097e8a2e07f010.tar.bz2
[svn-r2885] Purpose:
Backward compatibility additions Description: Added "--enable-hdf5v1_2" flag to enable HDF5 v1.2 compatibility API functions (H5Tget_member_dims & H5Tinsert_array) being built in the library. Platforms tested: FreeBSD 4.1.1 (hawkwind)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in17
1 files changed, 16 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index dc50acd..f961247 100644
--- a/configure.in
+++ b/configure.in
@@ -155,7 +155,7 @@ else
fi
dnl ----------------------------------------------------------------------
-dnl Check if they would like the Fortran interface compiled
+dnl Check if they would like the C++ interface compiled
dnl
AC_MSG_CHECKING(if c++ interface enabled)
AC_ARG_ENABLE(cxx,
@@ -489,6 +489,21 @@ case $HSIZET in
;;
esac
+dnl ----------------------------------------------------------------------
+dnl Check if they would like the HDF5 v1.2 compatibility functions compiled in
+dnl
+AC_MSG_CHECKING(whether HDF5 v1.2 compatibility functions enabled)
+AC_ARG_ENABLE(hdf5v1_2,
+ [ --enable-hdf5v1_2 Compile the HDF5 v1.2 compatibility interface [default=no]],
+ HDF5_V1_2_COMPAT=$enableval)
+
+if test "X$HDF5_V1_2_COMPAT" = "Xyes"; then
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(WANT_H5_V1_2_COMPAT)
+else
+ AC_MSG_RESULT(no)
+fi
+
dnl Checkpoint the cache
AC_CACHE_SAVE