[evolution-data-server] compile imapx provider optionally.
- From: Chenthill Palanisamy <pchen src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-data-server] compile imapx provider optionally.
- Date: Wed, 30 Sep 2009 12:07:49 +0000 (UTC)
commit f001953f7d608baa39c831d6b8cf15c3d231b98d
Author: Chenthill Palanisamy <pchenthill novell com>
Date: Wed Sep 30 17:35:02 2009 +0530
compile imapx provider optionally.
camel/providers/Makefile.am | 6 +++++-
configure.ac | 26 ++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/Makefile.am b/camel/providers/Makefile.am
index ed4c665..c29f495 100644
--- a/camel/providers/Makefile.am
+++ b/camel/providers/Makefile.am
@@ -12,6 +12,10 @@ if ENABLE_IMAP4
IMAP4_DIR=imap4
endif
+if ENABLE_IMAPX
+IMAPX_DIR=imapx
+endif
+
if ENABLE_HULA
HULA_DIR=hula
endif
@@ -21,6 +25,6 @@ else
SENDMAIL_DIR=sendmail
endif
-SUBDIRS = pop3 $(SENDMAIL_DIR) smtp imap imapx $(IMAP4_DIR) $(NNTP_DIR) local $(IMAPP_DIR) groupwise $(HULA_DIR)
+SUBDIRS = pop3 $(SENDMAIL_DIR) smtp imap $(IMAPX_DIR) $(IMAP4_DIR) $(NNTP_DIR) local $(IMAPP_DIR) groupwise $(HULA_DIR)
diff --git a/configure.ac b/configure.ac
index acfcf3d..fd90694 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1065,6 +1065,26 @@ fi
AM_CONDITIONAL(ENABLE_IMAP4, [test x$enable_imap4 = xyes])
dnl ******************************
+dnl IMAPX code support.
+dnl ******************************
+AC_ARG_ENABLE(imapx,
+ AS_HELP_STRING([--enable-imapx=no/yes],
+ [Attempt to compile yet another, incomplete, very unsupported IMAPv4r1 implementation]),
+ [],[enable_imapx=no])
+
+if test "x$enable_imapx" = "xyes"; then
+ AC_DEFINE(ENABLE_IMAPX,1,[Really don't try this at home])
+ AC_PATH_PROG(GPERF, gperf)
+ if test -z "$GPERF" ; then
+ AC_MSG_ERROR([You need gperf to compile imapx provider])
+ fi
+ msg_imapx=yes
+else
+ msg_imapx=no
+fi
+AM_CONDITIONAL(ENABLE_IMAPX, [test x$enable_imapx = xyes])
+
+dnl ******************************
dnl Hula support
dnl ******************************
AC_ARG_ENABLE([hula],
@@ -1836,6 +1856,12 @@ if test "$msg_hula" = "yes"; then
echo "Hula support: $msg_hula"
fi
+if test "$msg_imapx" = "yes"; then
+ echo "
+ IMAPX support: $msg_imapx
+"
+fi
+
if test "$msg_no_ntlm" != "no" ; then
echo ""
AC_MSG_WARN([
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]