From: Jason Garrett-Glaser Date: Mon, 14 Sep 2009 10:21:14 +0000 (-0700) Subject: Update yasm configure check X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=b5770ea28a83141252be66870cfabc0ceae626b7;p=x264.git Update yasm configure check lzcnt apparently requires yasm 0.6.2. --- diff --git a/configure b/configure index c39f67c2..d26ace16 100755 --- a/configure +++ b/configure @@ -310,10 +310,10 @@ if [ $shared = yes -a \( $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" -o fi if [ $asm = yes -a \( $ARCH = X86 -o $ARCH = X86_64 \) ] ; then - if ! as_check "pinsrd xmm0, [esp], 0" ; then + if ! as_check "lzcnt eax, eax" ; then VER=`($AS --version || echo no assembler) 2>$DEVNULL | head -n 1` echo "Found $VER" - echo "Minimum version is yasm-0.6.1" + echo "Minimum version is yasm-0.6.2" echo "If you really want to compile without asm, configure with --disable-asm." exit 1 fi