From 48822308a7e5f25f203c99e3da13dac585b90b02 Mon Sep 17 00:00:00 2001 From: Xiaowen Wu Date: Thu, 6 Jan 2005 13:48:49 -0500 Subject: [svn-r9757] Purpose: Description: Solution: Platforms tested: Misc. update: --- configure | 12 +++++++++++- configure.in | 8 +++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 65f0d82..7d5a85e 100755 --- a/configure +++ b/configure @@ -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 -- cgit v0.12