From: Anton Mitrofanov Date: Sat, 22 Oct 2011 15:41:07 +0000 (+0400) Subject: Improve yasm version check X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=6a0bd421bf5fd006012ddcd1be2072a8736b2d27;p=x264.git Improve yasm version check Previous check allowed certain earlier versions that weren't fully compatible. --- diff --git a/configure b/configure index de6afd9c..a371caeb 100755 --- a/configure +++ b/configure @@ -631,7 +631,7 @@ if [ $shared = yes -a \( $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" -o fi if [ $asm = auto -a \( $ARCH = X86 -o $ARCH = X86_64 \) ] ; then - if ! as_check "vfmaddps xmm0, xmm0, xmm0, xmm0" ; then + if ! as_check "vpperm xmm0, xmm0, xmm0, xmm0" ; then VER=`($AS --version || echo no assembler) 2>/dev/null | head -n 1` echo "Found $VER" echo "Minimum version is yasm-1.0.0"