[x264-devel] commit: Update yasm configure check (Jason Garrett-Glaser )

git version control git at videolan.org
Mon Sep 14 22:00:04 CEST 2009


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Mon Sep 14 03:21:14 2009 -0700| [b5770ea28a83141252be66870cfabc0ceae626b7] | committer: Jason Garrett-Glaser 

Update yasm configure check
lzcnt apparently requires yasm 0.6.2.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=b5770ea28a83141252be66870cfabc0ceae626b7
---

 configure |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index c39f67c..d26ace1 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



More information about the x264-devel mailing list