Skip to content

Commit

Permalink
reject hdf5 1.13.3
Browse files Browse the repository at this point in the history
  • Loading branch information
khou2020 committed Nov 14, 2022
1 parent 286d7bf commit 56a26f0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,20 @@ if test x$hdf5_ge_1_13_0 = xno; then
H5VL_log requires HDF5 1.13.0 and later. Abort.
-----------------------------------------------------------------------])
fi
AC_MSG_CHECKING([whether HDF5 version smaller than 1.13.3])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <hdf5.h>
#if (H5_VERS_MAJOR*1000000 + H5_VERS_MINOR*1000 + H5_VERS_RELEASE >= 1013003)
#error HDF5 version is greater than 1.13.2
#endif
]])], [hdf5_ge_1_13_3=no], [hdf5_ge_1_13_3=yes])
AC_MSG_RESULT([$hdf5_ge_1_13_3])
if test x$hdf5_ge_1_13_3 = xyes; then
AC_MSG_ERROR([
-----------------------------------------------------------------------
H5VL_log does not support HDF5 1.13.3 and later. Abort.
-----------------------------------------------------------------------])
fi
AC_MSG_CHECKING([whether HDF5 parallel I/O is enabled])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <hdf5.h>
Expand Down

0 comments on commit 56a26f0

Please sign in to comment.