projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add tokyocabinet support
[apps/madmutt.git]
/
lib-lua
/
madmutt.cpkg
diff --git
a/lib-lua/madmutt.cpkg
b/lib-lua/madmutt.cpkg
index
87c5c26
..
b47a867
100644
(file)
--- a/
lib-lua/madmutt.cpkg
+++ b/
lib-lua/madmutt.cpkg
@@
-24,7
+24,7
@@
#include <pwd.h>
#include <lib-lua/lib-lua.h>
#include <pwd.h>
#include <lib-lua/lib-lua.h>
-#include <lib-ui/
curses
.h>
+#include <lib-ui/
lib-ui
.h>
#include <lib-sys/unix.h>
#include "../mutt.h"
#include <lib-sys/unix.h>
#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"
# 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;
*/
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.
/*
** .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.
*/
** 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 shorthost = madmutt_init_shorthost();
+ string_t hostname = madmutt_init_hostname();
/*
** .pp
/*
** .pp