Bug 869659 - Make the ECMAScript Internationalization API opt-out, rather than opt-in. Also opt desktop builds out of the API for now, til we get cross-compiling working. r=glandium

This commit is contained in:
Jeff Walden 2013-05-10 15:30:15 -07:00
parent 6f242a6502
commit eaadbb324e
2 changed files with 8 additions and 6 deletions

View File

@ -9474,6 +9474,11 @@ fi
dist=$MOZ_BUILD_ROOT/dist
ac_configure_args="$_SUBDIR_CONFIG_ARGS"
ac_configure_args="$ac_configure_args --enable-threadsafe"
if test "A" = "A"; then # "$MOZ_BUILDAPP" != "browser", when desktop builds this
# The Internationalization API is currently disabled in all non-standalone
# SpiderMonkey builds, but it should be turned on for desktop builds soon.
ac_configure_args="$ac_configure_args --disable-intl-api"
fi
if test "$BUILD_CTYPES"; then
# Build js-ctypes on the platforms we can.
ac_configure_args="$ac_configure_args --enable-ctypes"

View File

@ -4412,12 +4412,9 @@ dnl ========================================================
dnl ECMAScript Internationalization API Support (uses ICU)
dnl ========================================================
if test -n "$JS_STANDALONE"; then
ENABLE_INTL_API=1
fi
MOZ_ARG_ENABLE_BOOL(intl-api,
[ --enable-intl-api Enable ECMAScript Internationalization API (default=yes for standalone JS)],
ENABLE_INTL_API=1,
ENABLE_INTL_API=1
MOZ_ARG_DISABLE_BOOL(intl-api,
[ --disable-intl-api Disable the ECMAScript Internationalization API],
ENABLE_INTL_API= )
dnl Settings for the implementation of the ECMAScript Internationalization API