diff --git a/configure b/configure
index c5bcb784f2e35776193fc4c1406f4128c73f1c72..8af0dccf2467f6008e4c236ff57f72bee0cde01d 100755
--- a/configure
+++ b/configure
@@ -4313,6 +4313,7 @@ EOF
 
         check_yasm "movbe ecx, [5]" && enable yasm ||
             die "yasm/nasm not found or too old. Use --disable-yasm for a crippled build."
+        check_yasm "vextracti128 xmm0, ymm0, 0"      || disable avx2_external
         check_yasm "vpmacsdd xmm0, xmm1, xmm2, xmm3" || disable xop_external
         check_yasm "vfmadd132ps ymm0, ymm1, ymm2"    || disable fma3_external
         check_yasm "vfmaddps ymm0, ymm1, ymm2, ymm3" || disable fma4_external