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 | 03590a6711d601ef3ddb48787e9f3f556705b5db (patch) | |
tree | b5985c23741cd03fd0ed32537773e07db2d7d21d /old-configure.in | |
parent | 714afc76f690ba11e77330e067e5bce486292831 (diff) | |
download | UXP-03590a6711d601ef3ddb48787e9f3f556705b5db.tar UXP-03590a6711d601ef3ddb48787e9f3f556705b5db.tar.gz UXP-03590a6711d601ef3ddb48787e9f3f556705b5db.tar.lz UXP-03590a6711d601ef3ddb48787e9f3f556705b5db.tar.xz UXP-03590a6711d601ef3ddb48787e9f3f556705b5db.zip |
Issue #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 468e199bc..49f45280e 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, |