diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-04-13 22:06:20 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-04-13 22:06:20 +0200 |
commit | f2bc0785b9852dae1b6f5c700fbca41e573aa916 (patch) | |
tree | 22b8e069753b338ae8164dc1341f9f51804f1fb1 /js/src/old-configure.in | |
parent | 501db456d4d84a9345374e9b15775f6e10883a41 (diff) | |
download | uxp-f2bc0785b9852dae1b6f5c700fbca41e573aa916.tar.gz |
Convert MOZILLA_OFFICIAL conditionals to MC_OFFICIAL where needed.
- `--enable-official-branding` implies `MC_OFFICIAL` (no need to specifically set it)
- `--enable-official-vendor` can be used to set `MC_OFFICIAL` on builds without `--enable-official-branding` that should still be considered official release versions.
- `MC_OFFICIAL` implies `--enable-release`, meaning `DEVELOPER_OPTIONS` isn't set
- `MC_OFFICIAL` makes `nsXULAppInfo.getIsOfficial` return `true`
- `MC_OFFICIAL` makes `AppConstants.MOZILLA_OFFICIAL` (for compatibility in extensions) and `AppConstants.MC_OFFICIAL` return `true`
- Optional, for the time being: `MOZILLA_OFFICIAL` is still present in some places in case someone wants to build a Mozilla-alike official application and has the rights and necessary keys to use Mozilla-official third-party services. This must always be combined with `MC_OFFICIAL` to have a sane combination of defines. This may be removed in the future.
Diffstat (limited to 'js/src/old-configure.in')
-rw-r--r-- | js/src/old-configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/old-configure.in b/js/src/old-configure.in index 5da81ce3ee..1736cc5d4a 100644 --- a/js/src/old-configure.in +++ b/js/src/old-configure.in @@ -2106,6 +2106,7 @@ AC_SUBST(MOZ_APP_VERSION) AC_SUBST(MOZ_PKG_SPECIAL) AC_SUBST(MOZILLA_OFFICIAL) +AC_SUBST(MC_OFFICIAL) dnl ======================================================== dnl ECMAScript Internationalization API Support (uses ICU) |