diff --git a/configure b/configure
index e68d5689fc0d6f8d762de7d50ad185f1a72174b6..2f1263f79c4b37843db1c23e7606d7dc5c2bfce0 100755
--- a/configure
+++ b/configure
@@ -2672,7 +2672,7 @@ EOF
             elf*) enabled debug && append YASMFLAGS $yasm_debug ;;
         esac
 
-        check_yasm "pabsw xmm0, xmm0" && enable yasm ||
+        check_yasm "pextrd [eax], xmm0, 1" && enable yasm ||
             die "yasm not found, use --disable-yasm for a crippled build"
     fi