Skip to content

Commit

Permalink
Merge pull request #296 from KaiSzuttor/master
Browse files Browse the repository at this point in the history
Fixed configure.ac
  • Loading branch information
rempferg committed May 27, 2015
2 parents 1e763ed + 5172d17 commit c82e5a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions configure.ac
Expand Up @@ -698,17 +698,17 @@ cat <<EOF
EOF
AC_MSG_CHECKING([whether to build with h5md support])
AC_ARG_WITH(h5md, AS_HELP_STRING([--with-h5md],[wether to build with h5mdsupport]),
[], [with_h5md=yes])
[with_h5md=no], [with_h5md=yes])
AC_MSG_RESULT($with_h5md)
if test .$with_h5md = .yes; then
ES_ADDPATH_CHECK_LIB(hdf5,H5open,,AC_MSG_FAILURE([could not link against the hdf5 library]),)
fi
ES_ADDPATH_CHECK_HEADER(hdf5.h, [],

ES_ADDPATH_CHECK_HEADER(hdf5.h, [],
[AC_MSG_ERROR([hdf5 headers not found. Please add the include path to
CPPFLAGS (e.g. configure CPPFLAGS=-I/usr/include/hdf5).])
CPPFLAGS (e.g. configure CPPFLAGS=-I/usr/include/hdf5).])
]
,$extrapaths)

fi
cat <<EOF
****************************************************************
* Other settings *
Expand Down

0 comments on commit c82e5a7

Please sign in to comment.