[x264-devel] commit: remove nasm version check. a feature check is all that's needed. ( Loren Merritt )

git version control git at videolan.org
Tue May 20 12:08:27 CEST 2008


x264 | branch: master | Loren Merritt <pengvado at akuvian.org> | Tue May 20 03:58:08 2008 -0600| [0903472f2e1bba9eeb6bc54f70747d037a5a6cf9]

remove nasm version check. a feature check is all that's needed.
silence stderr in yasm version check.

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

 configure |   15 +--------------
 1 files changed, 1 insertions(+), 14 deletions(-)

diff --git a/configure b/configure
index 94554de..2cb9bad 100755
--- a/configure
+++ b/configure
@@ -300,22 +300,9 @@ if [ $shared = yes -a \( $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" \)
     pic="yes"
 fi
 
-if [ $SYS = MACOSX -a $ARCH = X86 ]
-then
-  # we want Apple's nasm from Xcode 2.4.1 or later
-  NASM_BUILD_REQUIRED=11
-  NASM_BUILD=`nasm -v|grep "Apple Computer"|sed 's/.*build \([0-9]*\).*/\1/'`
-  if [ $NASM_BUILD -lt $NASM_BUILD_REQUIRED ]
-  then
-    echo "Your version of 'nasm' is too old."
-    echo "Please install Xcode 2.4.1 or later."
-    AS=""
-  fi
-fi
-
 if [ $ARCH = X86 -o $ARCH = X86_64 ] ; then
     if [ $ARCH = X86 -a $pic = yes -a x$AS = xyasm -a\
-         "`yasm --version | head -n 1`" "<" "yasm 0.6.2" ] ; then
+         "`yasm --version 2>$DEVNULL | head -n 1`" "<" "yasm 0.6.2" ] ; then
          echo "yasm prior to 0.6.2 miscompiles PIC. trying nasm instead..."
          AS=nasm
     fi



More information about the x264-devel mailing list