Fix SpiderMonkey builds on tbpl.
authorDavid Anderson <danderson@mozilla.com>
Mon, 17 Oct 2011 11:02:15 -0700
changeset 78980 f085bb5e0ef0e41b8cbfca2580b50ffb68edcdc8
parent 78979 9e12e2ea9726153b39b796c6fdbc530428240951
child 79326 f93960a93ad97a56d308bd9ce25d97cbc175d524
push idunknown
push userunknown
push dateunknown
milestone10.0a1
Fix SpiderMonkey builds on tbpl.
js/src/configure.in
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -2569,16 +2569,18 @@ MOZ_ARG_DISABLE_BOOL(ion,
 [  --disable-ion      Disable use of IONMonkey compiler],
   ENABLE_ION=,
   ENABLE_ION=1 )
 
 AC_SUBST(ENABLE_METHODJIT)
 
 if test "$ENABLE_METHODJIT"; then
     AC_DEFINE(JS_METHODJIT)
+else
+    ENABLE_ION=
 fi
 
 if test "$ENABLE_MONOIC"; then
     AC_DEFINE(JS_MONOIC)
 fi
 
 if test "$ENABLE_POLYIC"; then
     AC_DEFINE(JS_POLYIC)