[Pale-Moon] Add a configure option for Phoenix Extensions Dual-GUID System and set default off in confvars

This commit is contained in:
Matt A. Tobin 2020-08-22 09:49:44 -04:00 committed by Roy Tam
commit 0442dd4ee5
2 changed files with 16 additions and 3 deletions

View file

@ -7,13 +7,26 @@ dnl file, You can obtain one at http://mozilla.org/MPL/2.0/.
dnl Things we need to carry from confvars.sh
AC_DEFINE(MOZ_PHOENIX)
AC_SUBST(MOZ_PHOENIX)
AC_DEFINE(MC_PALEMOON)
AC_SUBST(MC_PALEMOON)
AC_DEFINE(MOZ_PHOENIX_EXTENSIONS)
AC_SUBST(MOZ_PHOENIX_EXTENSIONS)
dnl Optional parts of the build.
dnl ========================================================
dnl = Enable Phoenix Extension Support
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(phoenix-extensions,
[ --enable-phoenix-extensions Enable Phoenix Extension Support],
MOZ_PHOENIX_EXTENSIONS=1,
MOZ_PHOENIX_EXTENSIONS=)
if test -n "$MOZ_PHOENIX_EXTENSIONS"; then
AC_DEFINE(MOZ_PHOENIX_EXTENSIONS)
fi
AC_SUBST(MOZ_PHOENIX_EXTENSIONS)
dnl ========================================================
dnl = Disable Sync
dnl ========================================================

View file

@ -65,7 +65,7 @@ MOZ_DEVTOOLS=1
# Allows installation of Firefox GUID targeted extensions despite having
# a different Application ID
# On UXP this is a possible feature only for the Tycho Add-ons Manager
MOZ_PHOENIX_EXTENSIONS=1
MOZ_PHOENIX_EXTENSIONS=
# Platform Feature: Sync Service
MOZ_SERVICES_COMMON=1