Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
870ba5ce
Commit
870ba5ce
authored
Jan 30, 2019
by
Peter W. Draper
Browse files
Use the HDF5 include directory when checking for HDF5 macros
parent
092f82b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
870ba5ce
...
...
@@ -891,7 +891,8 @@ if test "$with_hdf5" = "yes"; then
AC_MSG_CHECKING([for HDF5 parallel support])
# Check if the library is capable, the header should define H5_HAVE_PARALLEL.
old_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $HDF5_CPPFLAGS"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
#include "hdf5.h"
#ifndef H5_HAVE_PARALLEL
...
...
@@ -903,6 +904,7 @@ if test "$with_hdf5" = "yes"; then
AC_DEFINE([HAVE_PARALLEL_HDF5],1,[HDF5 library supports parallel access])
fi
AC_MSG_RESULT($parallel)
CPPFLAGS="$old_CPPFLAGS"
fi
fi
AM_CONDITIONAL([HAVEPARALLELHDF5],[test "$have_parallel_hdf5" = "yes"])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment