summaryrefslogtreecommitdiff
path: root/m4/ax_lib_hdf5.m4
diff options
context:
space:
mode:
authorJoel Frederico <joelfred@slac.stanford.edu>2016-06-14 17:33:26 -0700
committerJoel Frederico <joelfred@slac.stanford.edu>2016-06-14 17:33:26 -0700
commita22e3b4215f6c65c4444a152b9dfc4d975914b95 (patch)
tree91d6957ef53ea9b9a08b5a38bb2420c0463a616c /m4/ax_lib_hdf5.m4
parent756338c19ab215b0bc6b734095c2e218552cb4fc (diff)
downloadautoconf-archive-a22e3b4215f6c65c4444a152b9dfc4d975914b95.tar.gz
ax_lib_hdf5.m4: Fixed to test for parallel instead of just assuming it
Diffstat (limited to 'm4/ax_lib_hdf5.m4')
-rw-r--r--m4/ax_lib_hdf5.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_lib_hdf5.m4 b/m4/ax_lib_hdf5.m4
index b1f76ec..dfd8a86 100644
--- a/m4/ax_lib_hdf5.m4
+++ b/m4/ax_lib_hdf5.m4
@@ -158,9 +158,9 @@ if test "$with_hdf5" = "yes"; then
AC_MSG_CHECKING([Using provided HDF5 C wrapper])
AC_MSG_RESULT([$H5CC])
fi
- if test "$H5CC$" = "h5cc"; then
+ if test "$H5CC" = "h5cc"; then
HDF5_TYPE="serial"
- else
+ elif test "$H5CC" = "h5pcc"; then
HDF5_TYPE="parallel"
fi
AC_MSG_CHECKING([for HDF5 libraries])