summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-08-13 08:36:42 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-08-13 08:36:42 (GMT)
commit5b6bd7c922d81bb6d1877c03e4b012823f03f88a (patch)
tree0b2564076409a5203df189a480f5cd6471aa57e1 /configure.ac
parente874070dbb27994b24860f94ffc53ca1b12211fa (diff)
downloadhdf5-5b6bd7c922d81bb6d1877c03e4b012823f03f88a.zip
hdf5-5b6bd7c922d81bb6d1877c03e4b012823f03f88a.tar.gz
hdf5-5b6bd7c922d81bb6d1877c03e4b012823f03f88a.tar.bz2
Added the map (H5M) API
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac26
1 files changed, 26 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3d6ab10..7f1f0dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2766,6 +2766,32 @@ if test -n "$PARALLEL"; then
fi
## ----------------------------------------------------------------------
+## Check if the map API is enabled by --enable-map-api
+##
+AC_SUBST([MAP_API])
+
+## Default is no map API
+MAP_API=no
+
+AC_MSG_CHECKING([if the map API (H5M) is enabled])
+
+AC_ARG_ENABLE([map-api],
+ [AS_HELP_STRING([--enable-map-api],
+ [Build the map API (H5M).
+ This is not yet supported in the native file format
+ and requires a VOL connector that supports it.
+ [default=no]])],
+ [MAP_API=$enableval], [MAP_API=no])
+
+if test "X$MAP_API" = "Xyes"; then
+ AC_MSG_RESULT([yes])
+ AC_DEFINE([HAVE_MAP_API], [1],
+ [Define if the map API (H5M) should be compiled])
+else
+ AC_MSG_RESULT([no])
+fi
+
+## ----------------------------------------------------------------------
## Check if Direct I/O driver is enabled by --enable-direct-vfd
##
AC_SUBST([DIRECT_VFD])