summaryrefslogtreecommitdiffstats
path: root/old-configure.in
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-03 15:33:58 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-03 15:33:58 -0500
commit6e7b3df3712caf96c9da8a55bee8e6b6e7ad02a7 (patch)
tree32d0c74ca38c30667b51bd46cd8e460421f35517 /old-configure.in
parenta57983a2176afb4bab3c22efa6a24d39f3c11163 (diff)
downloadUXP-6e7b3df3712caf96c9da8a55bee8e6b6e7ad02a7.tar
UXP-6e7b3df3712caf96c9da8a55bee8e6b6e7ad02a7.tar.gz
UXP-6e7b3df3712caf96c9da8a55bee8e6b6e7ad02a7.tar.lz
UXP-6e7b3df3712caf96c9da8a55bee8e6b6e7ad02a7.tar.xz
UXP-6e7b3df3712caf96c9da8a55bee8e6b6e7ad02a7.zip
Issue #1258 - Part 3: Make mailnews and friends build
Diffstat (limited to 'old-configure.in')
-rw-r--r--old-configure.in63
1 files changed, 63 insertions, 0 deletions
diff --git a/old-configure.in b/old-configure.in
index 6638ea688..45c3fe0ad 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -2259,6 +2259,11 @@ MOZ_PLACES=1
MOZ_SERVICES_HEALTHREPORT=1
MOZ_SERVICES_SYNC=1
MOZ_USERINFO=1
+MOZ_MAILNEWS=
+MOZ_LDAP_XPCOM=
+MOZ_MORK=
+MOZ_MAPI_SUPPORT=
+MOZ_INCOMPLETE_EXTERNAL_LINKAGE=
case "$target_os" in
mingw*)
@@ -2806,6 +2811,64 @@ 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_MORK=1
+ MOZ_LDAP_XPCOM=1
+ if test "$_WIN32_MSVC"; then
+ MOZ_MAPI_SUPPORT=1
+ fi
+ AC_DEFINE(MOZ_MAILNEWS)
+ AC_DEFINE(MOZ_MORK)
+fi
+
+AC_SUBST(MOZ_MAILNEWS)
+AC_SUBST(MOZ_MORK)
+
+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 ========================================================