Commit 5cc19336 authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

Fail the configuration if HDF5 support is requested but is not available.

parent a44029bb
......@@ -421,15 +421,9 @@ AC_ARG_ENABLE([hdf5],
AS_IF([test x"$hdf5" != xfalse],
[ AC_LIB_HAVE_LINKFLAGS(hdf5,,[#include <hdf5.h>],,
Using HDF5 interface requires library
and header files. Skipping ...
Check 'config.log' for more information,
maybe libdirstem was determined false.
], [])
[AC_LIB_HAVE_LINKFLAGS(hdf5,,[#include <hdf5.h>])
[AC_MSG_FAILURE([HDF5 library and/or header files are not found])])])
AM_CONDITIONAL([HDF5], [test x"$HAVE_LIBHDF5" = xyes])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment