X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-lua%2Fmadmutt.cpkg;h=b47a867f39f879e5110fb1210a65df2b3c183d73;hp=87c5c260ba7fa5d9c7142ccc83595305a0d0756b;hb=90f0c4dfb0480b5ce043c54f001d53ba6efc531b;hpb=da04d632587a221112a0f065e4802e1ea5393e21 diff --git a/lib-lua/madmutt.cpkg b/lib-lua/madmutt.cpkg index 87c5c26..b47a867 100644 --- a/lib-lua/madmutt.cpkg +++ b/lib-lua/madmutt.cpkg @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include "../mutt.h" @@ -113,7 +113,9 @@ static void madmutt_update_cachedir(const char *dir) } -#if defined(HAVE_QDBM) +#if defined(HAVE_TOKYOCABINET) +# define HCACHE_BACKEND "tokyocabinet" +#elif defined(HAVE_QDBM) # define HCACHE_BACKEND "qdbm" #elif defined(HAVE_GDBM) # define HCACHE_BACKEND "gdbm" @@ -161,12 +163,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. @@ -202,8 +198,8 @@ static void mod_core_init2(void) ** Please be sure to really know what you are doing when changing this variable ** to configure a custom domain part of Message-IDs. */ - string_t hostname = madmutt_init_hostname(); string_t shorthost = madmutt_init_shorthost(); + string_t hostname = madmutt_init_hostname(); /* ** .pp