Back out changeset 7996fcc11af9 / porting of bug 609976 due to test failures in mozilla-central and the mozilla-central changeset being backed out
authorMark Banner <bugzilla@standard8.plus.com>
Mon, 22 Nov 2010 15:57:48 +0000
changeset 6738 5f253d5c2fb76a66be617f41b07b5392254d790f
parent 6737 0e9611ad2f8da0a1b9cd81195b0be1f6d2f8b5f1
child 6739 d4b0999ac013d104c6a6293cc9ca33360190725d
push idunknown
push userunknown
push dateunknown
bugs609976
backs out7996fcc11af9d6f01f6bd5af1acadeb866641a86
Back out changeset 7996fcc11af9 / porting of bug 609976 due to test failures in mozilla-central and the mozilla-central changeset being backed out
configure.in
--- a/configure.in
+++ b/configure.in
@@ -4220,16 +4220,21 @@ SYSTEM_LIBXUL=
 MOZ_ARG_WITH_BOOL(system-libxul,
 [  --with-system-libxul   Use system installed libxul SDK],
     SYSTEM_LIBXUL=1)
 
 if test -n "$SYSTEM_LIBXUL" -a -z "$MOZ_ENABLE_LIBXUL"; then
     AC_MSG_ERROR([--with-system-libxul needs --with-libxul-sdk])
 fi
 
+# split JS out by default to avoid VS2005 PGO crash (bug 591836).
+if test "$OS_ARCH" = "WINNT"; then
+  ENABLE_SHARED_JS=1
+fi
+
 MOZ_ARG_ENABLE_BOOL(shared-js,
 [  --enable-shared-js     Create a shared Javascript library.],
     ENABLE_SHARED_JS=1,
     ENABLE_SHARED_JS=)
 
 if test -z "$MOZ_ENABLE_LIBXUL"; then
   dnl --disable-libxul implies shared js
   ENABLE_SHARED_JS=1