[x264-devel] configure: Fix ambiguous "$(("

Anton Mitrofanov git at videolan.org
Tue Aug 7 00:05:15 CEST 2018


x264 | branch: master | Anton Mitrofanov <BugMaster at narod.ru> | Sun Apr  1 17:42:46 2018 +0300| [57dd6274e2da70bdb8220bc159976e3ac2aea017] | committer: Henrik Gramner

configure: Fix ambiguous "$(("

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

 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 362aeb24..3b8d8145 100755
--- a/configure
+++ b/configure
@@ -919,7 +919,7 @@ fi
 
 if [ $asm = auto -a \( $ARCH = X86 -o $ARCH = X86_64 \) ] ; then
     if ! as_check "vmovdqa32 [eax]{k1}{z}, zmm0" ; then
-        VER="$(($AS --version || echo no assembler) 2>/dev/null | head -n 1)"
+        VER="$( ($AS --version || echo no assembler) 2>/dev/null | head -n 1 )"
         echo "Found $VER"
         echo "Minimum version is nasm-2.13"
         echo "If you really want to compile without asm, configure with --disable-asm."



More information about the x264-devel mailing list