X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-lua%2Fmadmutt.cpkg;h=ff9985ee28d0f2d2cc2094408491801eb9fa1b73;hp=f134c75a1f9c13b3b48bf6fd9867c061d314cc45;hb=95986f5aee1c2ee7d12c4b1e4bc47874856c5831;hpb=57352369229a00b32f5331cdd12f4ea1ace60f78 diff --git a/lib-lua/madmutt.cpkg b/lib-lua/madmutt.cpkg index f134c75..ff9985e 100644 --- a/lib-lua/madmutt.cpkg +++ b/lib-lua/madmutt.cpkg @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include "../mutt.h" @@ -113,9 +113,9 @@ static void madmutt_update_cachedir(const char *dir) } -#if defined(HAVE_QDBM) -# define HCACHE_BACKEND "qdbm" -#elif defined(HAVE_GDBM) +#if defined(HAVE_TOKYOCABINET) +# define HCACHE_BACKEND "tokyocabinet" +#elif defined(HAVE_QDBM) # define HCACHE_BACKEND "gdbm" #elif defined(HAVE_DB4) # define HCACHE_BACKEND "db4" @@ -161,12 +161,6 @@ static void mod_core_init2(void) */ const string_t hcache_backend = HCACHE_BACKEND; - /* - ** .pp - ** Contains the path of the \fTmadmutt_dotlock(1)\fP binary to be used by - ** Madmutt. - */ - path_t dotlock = m_strdup(BINDIR "/mutt_dotlock"); /* ** .pp ** This variable specifies which editor is used by Madmutt.