OSDN Git Service

import 0.9.3
[handbrake-jp/handbrake-jp.git] / contrib / patch-xvidcore-nasm-2.00-configure.patch
1 diff -ruN xvidcore-orig/build/generic/configure xvidcore/build/generic/configure
2 --- xvidcore-orig/build/generic/configure       2006-11-01 03:39:36.000000000 -0700
3 +++ xvidcore/build/generic/configure    2008-01-30 20:19:48.000000000 -0700
4 @@ -4016,7 +4016,7 @@
5         if test "$ac_nasm" = "yes" ; then
6                                              echo "$as_me:$LINENO: checking for nasm patch version" >&5
7  echo $ECHO_N "checking for nasm patch version... $ECHO_C" >&6
8 -           nasm_patch=`$nasm_prog -r | cut -d '.' -f 3 | cut -d ' ' -f 1`
9 +           nasm_patch=`($nasm_prog -r || $nasm_prog -v) | cut -d '.' -f 3 | cut -d ' ' -f 1`
10             if test -z $nasm_patch ; then
11 -              nasm_patch=-1
12 +              nasm_patch=45
13             fi