Bug 716663: Fix check for PR49911 to use "=" instead of "==" for string-equality-check with 'test'. r=respindola
authorDaniel Holbert <dholbert@cs.stanford.edu>
Mon, 09 Jan 2012 14:17:00 -0800
changeset 85286 efc8919dcce42066791399045faa5ce12ad03096
parent 85285 d3244d19894ce369c3c570567f2dd6b073fb495e
child 85287 1927c7905f5e6dcc562b2c97bd4f1c8842264f1f
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrespindola
bugs716663
milestone12.0a1
Bug 716663: Fix check for PR49911 to use "=" instead of "==" for string-equality-check with 'test'. r=respindola
build/autoconf/gcc-pr49911.m4
js/src/build/autoconf/gcc-pr49911.m4
--- a/build/autoconf/gcc-pr49911.m4
+++ b/build/autoconf/gcc-pr49911.m4
@@ -51,17 +51,17 @@ int main(void) {
 }
 ], true,
    ac_have_gcc_pr49911="yes",
    true)
 CXXFLAGS="$_SAVE_CXXFLAGS"
 
 AC_LANG_RESTORE
 
-if test "$ac_have_gcc_pr49911" == "yes"; then
+if test "$ac_have_gcc_pr49911" = "yes"; then
    AC_MSG_RESULT(yes)
    CFLAGS="$CFLAGS -fno-tree-vrp"
    CXXFLAGS="$CXXFLAGS -fno-tree-vrp"
 else
    AC_MSG_RESULT(no)
 fi
 fi
 ])
--- a/js/src/build/autoconf/gcc-pr49911.m4
+++ b/js/src/build/autoconf/gcc-pr49911.m4
@@ -51,17 +51,17 @@ int main(void) {
 }
 ], true,
    ac_have_gcc_pr49911="yes",
    true)
 CXXFLAGS="$_SAVE_CXXFLAGS"
 
 AC_LANG_RESTORE
 
-if test "$ac_have_gcc_pr49911" == "yes"; then
+if test "$ac_have_gcc_pr49911" = "yes"; then
    AC_MSG_RESULT(yes)
    CFLAGS="$CFLAGS -fno-tree-vrp"
    CXXFLAGS="$CXXFLAGS -fno-tree-vrp"
 else
    AC_MSG_RESULT(no)
 fi
 fi
 ])