diff --git a/ChangeLog b/ChangeLog index e364699..c5e313b 100755 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ - Fix bug in sorting when guessing flow direction. Issue #92 - Update nfdump.1 man page for xsrcport & xdstport aggregations. Request #109 - Fix minor bugs +- Fix definition for InfluxDB in configure.ac Issue #98 2018-04-01 - Add program exit in nfx.c after panic with correupt data file diff --git a/bin/lz4.h b/bin/lz4.h index 3cf6c8d..430d73f 100755 --- a/bin/lz4.h +++ b/bin/lz4.h @@ -281,6 +281,10 @@ LZ4LIB_API int LZ4_compress_fast_continue (LZ4_stream_t* streamPtr, const char* */ LZ4LIB_API int LZ4_saveDict (LZ4_stream_t* streamPtr, char* safeBuffer, int dictSize); +// add missing prototypes +int LZ4_compress_fast_force(const char* source, char* dest, int inputSize, int maxOutputSize, int acceleration); +int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_dict, const char* source, char* dest, int inputSize); +int LZ4_decompress_safe_forceExtDict(const char* source, char* dest, int compressedSize, int maxOutputSize, const char* dictStart, int dictSize); /*-********************************************** * Streaming Decompression Functions diff --git a/configure.ac b/configure.ac index bc639be..2863e91 100755 --- a/configure.ac +++ b/configure.ac @@ -189,8 +189,10 @@ AS_IF([test "x$influxdb" = xyes], [ AC_CHECK_LIB([curl], [curl_free],,[AC_MSG_ERROR([libcurl required!])]) AC_DEFINE_UNQUOTED(HAVE_INFLUXDB, 1, [enable stats to influxdb]) -], [ -]) + AM_CONDITIONAL(INFLXDB, true) +], +AM_CONDITIONAL(INFLXDB, false) +) AC_ARG_ENABLE(nftrack, [ --enable-nftrack Build nftrack used by PortTracker; default is NO],