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
dkrz-sw
sct
Commits
5cc19336
Commit
5cc19336
authored
May 14, 2019
by
Sergey Kosukhin
Browse files
Fail the configuration if HDF5 support is requested but is not available.
parent
a44029bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
5cc19336
...
...
@@ -421,15 +421,9 @@ AC_ARG_ENABLE([hdf5],
[hdf5=false])
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>])
AS_VAR_IF([HAVE_LIBHDF5], [no],
[AC_MSG_FAILURE([HDF5 library and/or header files are not found])])])
AM_CONDITIONAL([HDF5], [test x"$HAVE_LIBHDF5" = xyes])
...
...
Write
Preview
Markdown
is supported
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