diff --git a/ChangeLog b/ChangeLog
index 98470d3d7592de5fd557bdea4fb65f0de40c81be..1b954619a3ea2c109863df95907c888c259f11eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-11  Paolo Bonzini  <bonzini@gnu.org>
+
+	* configure.in: Change == to = in test command.
+        * configure: Regenerate.
+
 2007-01-11  Paolo Bonzini  <bonzini@gnu.org>
             Nick Clifton  <nickc@redhat.com>
             Kaveh R. Ghazi  <ghazi@caip.rutgets.edu>
diff --git a/configure b/configure
index 9cc4b21277e24d8b5b9207689a1e3bd5ceab1847..7a56401d7f2ee082b55866229a1b034cfbd70224 100755
--- a/configure
+++ b/configure
@@ -2363,7 +2363,7 @@ if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp;
   have_gmp=yes
 fi
 
-if test -d ${srcdir}/gcc && test "x$have_gmp" == xno; then
+if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
   have_gmp=yes
   saved_CFLAGS="$CFLAGS"
   CFLAGS="$CFLAGS $gmpinc"
diff --git a/configure.in b/configure.in
index 06ba566c3aba528fb4706620457d16d5da501996..8b2071a921760301353ab5a70c23824cb9a57932 100644
--- a/configure.in
+++ b/configure.in
@@ -1131,7 +1131,7 @@ if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp;
   have_gmp=yes
 fi
 
-if test -d ${srcdir}/gcc && test "x$have_gmp" == xno; then
+if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
   have_gmp=yes
   saved_CFLAGS="$CFLAGS"
   CFLAGS="$CFLAGS $gmpinc"