Bug 1462157 - Remove abuse of MOZ_UPDATE_CHANNEL for A11Y_LOG. r?build
MOZ_UPDATE_CHANNEL is meant to set the channel to use for the updater,
and nothing else. It's not an indicator of which branch we're building
on and it's not an indicator of whether it's a developer build or a CI
build. The latter seems to be what it's used for for A11Y_LOG, so use
DEVELOPER_OPTIONS instead.
--- a/old-configure.in
+++ b/old-configure.in
@@ -4517,26 +4517,19 @@ if test "$ACCESSIBILITY" -a "$MOZ_ENABLE
AC_DEFINE_UNQUOTED(ATK_REV_VERSION, $ATK_REV_VERSION)
fi
AC_SUBST(MOZ_DEV_EDITION)
if test -n "$MOZ_DEV_EDITION"; then
AC_DEFINE(MOZ_DEV_EDITION)
fi
-if test "$MOZ_DEBUG"; then
+if test "$MOZ_DEBUG" -o "$DEVELOPER_OPTIONS"; then
A11Y_LOG=1
fi
-case "$MOZ_UPDATE_CHANNEL" in
-aurora|beta|release|esr)
- ;;
-*)
- A11Y_LOG=1
- ;;
-esac
AC_SUBST(A11Y_LOG)
if test -n "$A11Y_LOG"; then
AC_DEFINE(A11Y_LOG)
fi
dnl Spit out some output
dnl ========================================================