diff options
Diffstat (limited to 'meta/recipes-sato/eds/eds-dbus/optional_imapx_provider.patch')
-rw-r--r-- | meta/recipes-sato/eds/eds-dbus/optional_imapx_provider.patch | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/meta/recipes-sato/eds/eds-dbus/optional_imapx_provider.patch b/meta/recipes-sato/eds/eds-dbus/optional_imapx_provider.patch new file mode 100644 index 0000000000..128307a5f2 --- /dev/null +++ b/meta/recipes-sato/eds/eds-dbus/optional_imapx_provider.patch | |||
@@ -0,0 +1,62 @@ | |||
1 | Index: git/camel/providers/Makefile.am | ||
2 | =================================================================== | ||
3 | --- git.orig/camel/providers/Makefile.am 2010-07-06 18:49:34.000000000 +0800 | ||
4 | +++ git/camel/providers/Makefile.am 2010-07-08 17:23:56.000000000 +0800 | ||
5 | @@ -6,6 +6,10 @@ | ||
6 | IMAP4_DIR=imap4 | ||
7 | endif | ||
8 | |||
9 | +if ENABLE_IMAPX | ||
10 | +IMAPX_DIR=imapx | ||
11 | +endif | ||
12 | + | ||
13 | if ENABLE_HULA | ||
14 | HULA_DIR=hula | ||
15 | endif | ||
16 | @@ -15,6 +19,6 @@ | ||
17 | SENDMAIL_DIR=sendmail | ||
18 | endif | ||
19 | |||
20 | -SUBDIRS = pop3 $(SENDMAIL_DIR) smtp imap imapx $(IMAP4_DIR) $(NNTP_DIR) local groupwise $(HULA_DIR) | ||
21 | +SUBDIRS = pop3 $(SENDMAIL_DIR) smtp imap $(IMAPX_DIR) $(IMAP4_DIR) $(NNTP_DIR) local groupwise $(HULA_DIR) | ||
22 | |||
23 | -include $(top_srcdir)/git.mk | ||
24 | Index: git/configure.ac | ||
25 | =================================================================== | ||
26 | --- git.orig/configure.ac 2010-07-08 17:24:36.000000000 +0800 | ||
27 | +++ git/configure.ac 2010-07-08 17:32:06.000000000 +0800 | ||
28 | @@ -1002,6 +1002,26 @@ | ||
29 | AM_CONDITIONAL(ENABLE_IMAP4, [test x$enable_imap4 = xyes]) | ||
30 | |||
31 | dnl ****************************** | ||
32 | +dnl IMAPX code support. | ||
33 | +dnl ****************************** | ||
34 | +AC_ARG_ENABLE(imapx, | ||
35 | + AS_HELP_STRING([--enable-imapx=no/yes], | ||
36 | + [Attempt to compile yet another, incomplete, very unsupported IMAPv4r1 implementation]), | ||
37 | + [],[enable_imapx=no]) | ||
38 | + | ||
39 | +if test "x$enable_imapx" = "xyes"; then | ||
40 | + AC_DEFINE(ENABLE_IMAPX,1,[Really don't try this at home]) | ||
41 | + AC_PATH_PROG(GPERF, gperf) | ||
42 | + if test -z "$GPERF" ; then | ||
43 | + AC_MSG_ERROR([You need gperf to compile imapx provider]) | ||
44 | + fi | ||
45 | + msg_imapx=yes | ||
46 | +else | ||
47 | + msg_imapx=no | ||
48 | +fi | ||
49 | +AM_CONDITIONAL(ENABLE_IMAPX, [test x$enable_imapx = xyes]) | ||
50 | + | ||
51 | +dnl ****************************** | ||
52 | dnl Hula support | ||
53 | dnl ****************************** | ||
54 | AC_ARG_ENABLE([hula], | ||
55 | @@ -1541,3 +1561,7 @@ | ||
56 | if test "x$msg_hula" = "xyes"; then | ||
57 | echo "Hula support: $msg_hula" | ||
58 | fi | ||
59 | + | ||
60 | +if test "x$msg_imapx" = "xyes"; then | ||
61 | + echo "IMAPX support: $msg_imapx" | ||
62 | +fi | ||