diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-11-05 18:27:14 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-11-05 18:27:14 -0500 |
commit | fa1e3a3d7d120b17eadd1de407ce992cf22c8328 (patch) | |
tree | b5985c23741cd03fd0ed32537773e07db2d7d21d /old-configure.in | |
parent | 152481e0861761c2c788f3049c17e98a88d19da0 (diff) | |
download | uxp-fa1e3a3d7d120b17eadd1de407ce992cf22c8328.tar.gz |
Issue mcp-graveyard/UXP#1258 - Part 8: Ifdef MailNews OAuth2 Support
Use --disable-mailnews-oauth2 to exclude it. Confvars won't be respected.
Diffstat (limited to 'old-configure.in')
-rw-r--r-- | old-configure.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/old-configure.in b/old-configure.in index 468e199bc6..49f45280ed 100644 --- a/old-configure.in +++ b/old-configure.in @@ -2260,6 +2260,7 @@ MOZ_SERVICES_HEALTHREPORT=1 MOZ_SERVICES_SYNC=1 MOZ_USERINFO=1 MOZ_MAILNEWS= +MOZ_MAILNEWS_OAUTH2= MOZ_LDAP_XPCOM= MOZ_MORK= MOZ_MAPI_SUPPORT= @@ -2830,6 +2831,7 @@ MOZ_ARG_ENABLE_BOOL(mailnews, MOZ_MAILNEWS=) if test -n "$MOZ_MAILNEWS"; then + MOZ_MAILNEWS_OAUTH2=1 MOZ_MORK=1 MOZ_LDAP_XPCOM=1 @@ -2850,6 +2852,20 @@ 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, |