Move MOZ_PHOENIX to application configure and set MC_BASILISK

This commit is contained in:
NTD 2018-02-03 06:42:10 -05:00 committed by Roy Tam
commit 09f68c6444
3 changed files with 17 additions and 6 deletions

15
browser/configure.in Normal file
View file

@ -0,0 +1,15 @@
dnl -*- Mode: Autoconf; tab-width: 2; indent-tabs-mode: nil; -*-
dnl vi: set tabstop=2 shiftwidth=2 expandtab:
dnl This Source Code Form is subject to the terms of the Mozilla Public
dnl License, v. 2.0. If a copy of the MPL was not distributed with this
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_BASILISK)
AC_SUBST(MC_BASILISK)
dnl Optional parts of the build.

View file

@ -5,8 +5,9 @@
MOZ_APP_BASENAME=Firefox
MOZ_APP_VENDOR=Mozilla
MOZ_UPDATER=1
MOZ_PHOENIX=1
MC_BASILISK=1
MOZ_UPDATER=1
if test "$OS_ARCH" = "WINNT" -o \
"$OS_ARCH" = "Linux"; then

View file

@ -2401,10 +2401,6 @@ fi
# that haven't made a confvars.sh yet. Don't add new stuff here, use
# MOZ_BUILD_APP.
case "$MOZ_BUILD_APP" in
browser)
AC_DEFINE(MOZ_PHOENIX)
;;
xulrunner)
AC_DEFINE(MOZ_XULRUNNER)
;;
@ -2433,7 +2429,6 @@ if test -n "$MOZ_RUST"; then
fi
fi
AC_SUBST(MOZ_PHOENIX)
AC_SUBST(MOZ_XULRUNNER)
AC_SUBST(MOZ_B2G)
AC_SUBST(MOZ_MULET)