Bug 853301 - Disable the Intl API in browser builds again, before branch uplift. r=me
authorJeff Walden <jwalden@mit.edu>
Sun, 04 Aug 2013 20:42:30 -0700
changeset 153498 482b9d04974acd3a7687de3408bd7f6d73638e63
parent 153497 0a63cd911b4f8c065c3dd344f59adfe5e9b57849
child 153540 6bc019d8abc824fd2671d9d62324438ab3dde70f
child 170198 8613a68e33f3fbf5215ff31aa695fb969218582b
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs853301
milestone25.0a1
first release with
nightly linux32
482b9d04974a / 25.0a1 / 20130805030205 / files
nightly linux64
482b9d04974a / 25.0a1 / 20130805030205 / files
nightly mac
482b9d04974a / 25.0a1 / 20130805030205 / files
nightly win32
482b9d04974a / 25.0a1 / 20130805030205 / files
nightly win64
482b9d04974a / 25.0a1 / 20130805030205 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 853301 - Disable the Intl API in browser builds again, before branch uplift. r=me
configure.in
--- a/configure.in
+++ b/configure.in
@@ -9419,21 +9419,24 @@ if test -n "$ENABLE_CLANG_PLUGIN"; then
     AC_OUTPUT_SUBDIRS(build/clang-plugin)
 fi
 
 
 # Run the SpiderMonkey 'configure' script.
 dist=$MOZ_BUILD_ROOT/dist
 ac_configure_args="$_SUBDIR_CONFIG_ARGS"
 ac_configure_args="$ac_configure_args --enable-threadsafe"
-if test "$MOZ_BUILD_APP" != "browser"; then
-    # The Internationalization API is currently disabled in all non-standalone,
-    # non-desktop SpiderMonkey builds.  Bug 864843 is on file for enabling it
-    # in Android builds, and bug 866301 is on file for enabling it in B2G
-    # builds.
+# Switch to "$MOZ_BUILD_APP" != "browser" when enabling for desktop builds.
+if test "A" = "A"; then
+    # The Internationalization API isn't on by default except in standalone JS
+    # engine builds.  Bugs to enable it in the browser:
+    #
+    #   Desktop:  bug 853301
+    #   Android:  bug 864843
+    #   B2G:      bug 866301
     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"
 fi
 if test -z "$JS_SHARED_LIBRARY" ; then
     ac_configure_args="$ac_configure_args --disable-shared-js"