option to use big-endian sorting for intfilter binsearch case

This commit is contained in:
cathugger 2017-10-22 02:36:45 +00:00
parent 5bc2b09504
commit 39b173aa3d
2 changed files with 55 additions and 14 deletions

View file

@ -215,6 +215,16 @@ then
MYDEFS="$MYDEFS -DBINSEARCH"
fi
AC_ARG_ENABLE([besort],
[AS_HELP_STRING([--enable-besort],
[force intfilter binsearch case to use big endian sorting and not omit masks from filters; useful if your filters aren't of same length @<:@default=no@:>@])],
[], [enable_besort=no]
)
if test "x$enable_besort" = "xyes"
then
MYDEFS="$MYDEFS -DBESORT"
fi
AC_ARG_ENABLE([statistics],
[AS_HELP_STRING([--enable-statistics],
[collect statistics @<:@default=yes@:>@])],