From e90b8c8a5719423ebf83b8cd47123f0a43807b61 Mon Sep 17 00:00:00 2001 From: Ingo Huerner Date: Fri, 5 May 2017 10:01:57 +0200 Subject: Removed memset in qhasharr (prevents allocated mamory to be marked as "used"). Added tests for RCT comparing function. Make define PERS_CACHE_MAX_SLOTS configurable using --with-cachemaxslots (default 100.000). --- configure.ac | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ca2cd10..959567c 100644 --- a/configure.ac +++ b/configure.ac @@ -90,6 +90,8 @@ PKG_CHECK_MODULES([GIO], [gio-2.0 >= 2.30.0]) PKG_CHECK_MODULES([GIO_UNIX], [gio-unix-2.0 >= 2.30.0]) PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.30.0]) PKG_CHECK_MODULES([DLT], [automotive-dlt >= 2.2.0]) +PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2.5]) +PKG_CHECK_MODULES([ARCHIVELIB], [libarchive >= 3.0.4]) dnl ************************************* dnl *** Database support *** @@ -212,6 +214,20 @@ else fi + +###################################################################### +### max numberr of database slots, default is 100.000 +###################################################################### +AC_ARG_WITH([cachemaxslots], + [AS_HELP_STRING([--with-cachemaxslots=numberOfMaxSlots],[NUmber of max db slots])], + [with_cachemaxslots=$withval],[with_cachemaxslots=100000]) + +AC_SUBST([cachemaxslots], [$with_cachemaxslots]) +AC_MSG_NOTICE([Cache Max slots is: $cachemaxslots]) +AC_DEFINE_UNQUOTED(PERS_CACHE_MAX_SLOTS, $cachemaxslots, "max db slots for cache") + + + dnl ************************************* dnl *** Define extra paths *** dnl ************************************* -- cgit v1.2.1