summaryrefslogtreecommitdiffstats
path: root/old-configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'old-configure.in')
-rw-r--r--old-configure.in86
1 files changed, 86 insertions, 0 deletions
diff --git a/old-configure.in b/old-configure.in
index 6638ea688..49f45280e 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -2259,6 +2259,12 @@ MOZ_PLACES=1
MOZ_SERVICES_HEALTHREPORT=1
MOZ_SERVICES_SYNC=1
MOZ_USERINFO=1
+MOZ_MAILNEWS=
+MOZ_MAILNEWS_OAUTH2=
+MOZ_LDAP_XPCOM=
+MOZ_MORK=
+MOZ_MAPI_SUPPORT=
+MOZ_INCOMPLETE_EXTERNAL_LINKAGE=
case "$target_os" in
mingw*)
@@ -2806,6 +2812,86 @@ x86_64 | arm | aarch64 | x86 | ppc* | ia64)
esac
+dnl =========================================================
+dnl = Don't fold mailnews related comps into libXUL
+dnl =========================================================
+MOZ_ARG_ENABLE_BOOL(incomplete-external-linkage,
+[ --enable-incomplete-external-linkage Don't fold *comps into libXUL which is currently badly busted so don't even bother with it ],
+ MOZ_INCOMPLETE_EXTERNAL_LINKAGE=1,
+ MOZ_INCOMPLETE_EXTERNAL_LINKAGE= )
+
+AC_SUBST(MOZ_INCOMPLETE_EXTERNAL_LINKAGE)
+
+dnl ========================================================
+dnl = Enable MailNews
+dnl ========================================================
+MOZ_ARG_ENABLE_BOOL(mailnews,
+[ --enable-mailnews Enable the mailnews core backend],
+ MOZ_MAILNEWS=1,
+ MOZ_MAILNEWS=)
+
+if test -n "$MOZ_MAILNEWS"; then
+ MOZ_MAILNEWS_OAUTH2=1
+ MOZ_MORK=1
+ MOZ_LDAP_XPCOM=1
+
+ if test "$OS_ARCH" == "WINNT"; then
+ MOZ_MAPI_SUPPORT=1
+ else
+ MOZ_MOVEMAIL=1
+ HAVE_MOVEMAIL=1
+ AC_DEFINE(HAVE_MOVEMAIL)
+ fi
+
+ AC_DEFINE(MOZ_MAILNEWS)
+ AC_DEFINE(MOZ_MORK)
+fi
+
+AC_SUBST(MOZ_MAILNEWS)
+AC_SUBST(MOZ_MORK)
+AC_SUBST(MOZ_MOVEMAIL)
+
+dnl =========================================================
+dnl = Mailnews OAuth2 Support
+dnl =========================================================
+MOZ_ARG_DISABLE_BOOL(mailnews-oauth2,
+[ --disable-mailnews-oauth2 Disable oauth2 support in mailnews],
+ MOZ_MAILNEWS_OAUTH2=,
+ MOZ_MAILNEWS_OAUTH2=1)
+
+if test -n "$MOZ_MAILNEWS_OAUTH2"; then
+ AC_DEFINE(MOZ_MAILNEWS_OAUTH2)
+fi
+
+AC_SUBST(MOZ_MAILNEWS_OAUTH2)
+
+dnl =========================================================
+dnl = LDAP
+dnl =========================================================
+MOZ_ARG_DISABLE_BOOL(ldap,
+[ --disable-ldap Disable LDAP support],
+ MOZ_LDAP_XPCOM= )
+
+if test -n "$MOZ_LDAP_XPCOM"; then
+ AC_DEFINE(MOZ_LDAP_XPCOM)
+fi
+
+AC_SUBST(MOZ_LDAP_XPCOM)
+
+dnl =========================================================
+dnl = MAPI support (Windows only)
+dnl =========================================================
+
+MOZ_ARG_DISABLE_BOOL(mapi,
+[ --disable-mapi Disable MAPI support],
+ MOZ_MAPI_SUPPORT= )
+
+if test -n "$MOZ_MAPI_SUPPORT"; then
+ AC_DEFINE(MOZ_MAPI_SUPPORT)
+fi
+
+AC_SUBST(MOZ_MAPI_SUPPORT)
+
dnl ========================================================
dnl = Enable WebRTC code
dnl ========================================================