Commit 326f719e authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Avoid WARNING: hdf5.h: accepted by the compiler, rejected by the preprocessor! message.

The hdf5 compiler doesn't understand the builtin paths of the mpicc command, so don't check the include path, just the libs


Former-commit-id: ee7a02c3721c4a8aa41b0c009d83bc1ebc8c901f
parent 4967ef03
......@@ -238,7 +238,7 @@ HDF5 support is being disabled (equivalent to --with-hdf5=no).
CPPFLAGS=$HDF5_CPPFLAGS
LIBS=$HDF5_LIBS
LDFLAGS=$HDF5_LDFLAGS
AC_CHECK_HEADER([hdf5.h], [ac_cv_hadf5_h=yes], [ac_cv_hadf5_h=no])
AC_CHECK_HEADER([hdf5.h], [ac_cv_hadf5_h=yes], [ac_cv_hadf5_h=no], [AC_INCLUDES_DEFAULT])
AC_CHECK_LIB([hdf5], [H5Fcreate], [ac_cv_libhdf5=yes],
[ac_cv_libhdf5=no])
if test "$ac_cv_hadf5_h" = "no" && test "$ac_cv_libhdf5" = "no" ; then
......
Supports Markdown
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