diff options
author | Ingo Huerner <ingo_huerner@mentor.com> | 2017-05-05 10:01:57 +0200 |
---|---|---|
committer | Ingo Huerner <ingo_huerner@mentor.com> | 2017-05-05 10:01:57 +0200 |
commit | e90b8c8a5719423ebf83b8cd47123f0a43807b61 (patch) | |
tree | 57a2b9cf035868f9b27dae0c0be141003442f56a /configure.ac | |
parent | c1cd0d398ee0c25b5af6e4ff96b9991a1b24959d (diff) | |
download | persistence-common-object-e90b8c8a5719423ebf83b8cd47123f0a43807b61.tar.gz |
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).
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 16 insertions, 0 deletions
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 ************************************* |