diff options
-rwxr-xr-x | configure | 12 | ||||
-rw-r--r-- | configure.in | 8 |
2 files changed, 18 insertions, 2 deletions
@@ -33461,6 +33461,7 @@ fi USE_FILTER_SHUFFLE="no" USE_FILTER_FLETCHER32="no" + USE_FILTER_NBIT="no" echo "$as_me:$LINENO: checking for I/O filters" >&5 echo $ECHO_N "checking for I/O filters... $ECHO_C" >&6 # Check whether --enable-filters or --disable-filters was given. @@ -33469,7 +33470,7 @@ if test "${enable_filters+set}" = set; then FILTERS=$enableval fi; -all_filters="shuffle,fletcher32" +all_filters="shuffle,fletcher32,nbit" case "X-$FILTERS" in X-|X-all) FILTERS=$all_filters @@ -33505,6 +33506,14 @@ _ACEOF USE_FILTER_FLETCHER32="yes" fi + if test $filter = "NBIT"; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_FILTER_NBIT 1 +_ACEOF + + USE_FILTER_NBIT="yes" + fi done fi @@ -34747,6 +34756,7 @@ s,@MPE@,$MPE,;t t s,@FILTERS@,$FILTERS,;t t s,@USE_FILTER_SHUFFLE@,$USE_FILTER_SHUFFLE,;t t s,@USE_FILTER_FLETCHER32@,$USE_FILTER_FLETCHER32,;t t +s,@USE_FILTER_NBIT@,$USE_FILTER_NBIT,;t t s,@H5_VERSION@,$H5_VERSION,;t t s,@CONFIG_DATE@,$CONFIG_DATE,;t t s,@CONFIG_USER@,$CONFIG_USER,;t t diff --git a/configure.in b/configure.in index 5d99b2a..580ed70 100644 --- a/configure.in +++ b/configure.in @@ -2430,6 +2430,7 @@ dnl AC_SUBST([FILTERS]) AC_SUBST(USE_FILTER_SHUFFLE) USE_FILTER_SHUFFLE="no" AC_SUBST(USE_FILTER_FLETCHER32) USE_FILTER_FLETCHER32="no" +AC_SUBST(USE_FILTER_NBIT) USE_FILTER_NBIT="no" AC_MSG_CHECKING([for I/O filters]) AC_ARG_ENABLE([filters], [AC_HELP_STRING([--enable-filters=all], @@ -2440,7 +2441,7 @@ AC_ARG_ENABLE([filters], [FILTERS=$enableval]) dnl Eventually: all_filters="shuffle,foo,bar,baz" -all_filters="shuffle,fletcher32" +all_filters="shuffle,fletcher32,nbit" case "X-$FILTERS" in X-|X-all) FILTERS=$all_filters @@ -2471,6 +2472,11 @@ if test -n "$FILTERS"; then [Define if support for Fletcher32 checksum is enabled]) USE_FILTER_FLETCHER32="yes" fi + if test $filter = "NBIT"; then + AC_DEFINE([HAVE_FILTER_NBIT], [1], + [Define if support for nbit filter is enabled]) + USE_FILTER_NBIT="yes" + fi done fi |