--- configure	2012-03-09 16:01:59.000000000 +0000
+++ configure.new	2012-03-15 16:19:16.000000000 +0000
@@ -4544,8 +4544,10 @@
 else
 
     ax_cv_have_sse2_ext=no
-    if test "$((0x$edx>>26&0x01))" = 1; then
-      ax_cv_have_sse2_ext=yes
+    if test "$ax_cv_gcc_x86_cpuid_0x00000001" != "unknown"; then
+      if test "$((0x$edx>>26&0x01))" = 1; then
+        ax_cv_have_sse2_ext=yes
+      fi
     fi
 
 fi
