diff --git a/configure b/configure index 5423a6845f..f2f555425b 100755 --- a/configure +++ b/configure @@ -4018,8 +4018,8 @@ EOF elf*) enabled debug && append YASMFLAGS $yasm_debug ;; esac - check_yasm "pextrd [eax], xmm0, 1" && enable yasm || - die "yasm not found, use --disable-yasm for a crippled build" + check_yasm "movbe ecx, [5]" && enable yasm || + die "yasm/nasm not found or too old. Use --disable-yasm for a crippled build." check_yasm "vextractf128 xmm0, ymm0, 0" || disable avx_external avresample check_yasm "vfmaddps ymm0, ymm1, ymm2, ymm3" || disable fma4_external check_yasm "CPU amdnop" && enable cpunop