Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -238,7 +238,7 @@ HDF5 support is being disabled (equivalent to --with-hdf5=no). ...@@ -238,7 +238,7 @@ HDF5 support is being disabled (equivalent to --with-hdf5=no).
CPPFLAGS=$HDF5_CPPFLAGS CPPFLAGS=$HDF5_CPPFLAGS
LIBS=$HDF5_LIBS LIBS=$HDF5_LIBS
LDFLAGS=$HDF5_LDFLAGS 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_CHECK_LIB([hdf5], [H5Fcreate], [ac_cv_libhdf5=yes],
[ac_cv_libhdf5=no]) [ac_cv_libhdf5=no])
if test "$ac_cv_hadf5_h" = "no" && test "$ac_cv_libhdf5" = "no" ; then if test "$ac_cv_hadf5_h" = "no" && test "$ac_cv_libhdf5" = "no" ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment