diff --git a/configure b/configure
index 64dedf51813429478c95a28983d04351c1f0cfe3..0472c80dccc2571681d46d42c2c8f2a20a9a3a3f 100755
--- a/configure
+++ b/configure
@@ -13832,7 +13832,7 @@ if ${ac_cv_c_gcc_strength_bug+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "$cross_compiling" = yes; then :
-  ac_cv_c_gcc_strength_bug="yes"
+  ac_cv_c_gcc_strength_bug="no"
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
diff --git a/configure.ac b/configure.ac
index 3eaec29bc02b553049ea5062a5932cb0ebfdfd2f..9aab130228c7da8d0ac6b3fa9e397c9c2d0051dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1797,7 +1797,7 @@ then
   for(i=0; i<4 - 1; i++) L[[i]] = L[[i + 1]];
   L[[i]] = 4;
   return (Array[[1]] != -2 || L[[2]] != 3)]])],
-    [ac_cv_c_gcc_strength_bug="no"],[ac_cv_c_gcc_strength_bug="yes"],[ac_cv_c_gcc_strength_bug="yes"]) )
+    [ac_cv_c_gcc_strength_bug="no"],[ac_cv_c_gcc_strength_bug="yes"],[ac_cv_c_gcc_strength_bug="no"]) )
   if test "$ac_cv_c_gcc_strength_bug" = "yes"
   then
     EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"