]> granicus.if.org Git - handbrake/commitdiff
build: Update configure.py to check for nasm >= 2.13.
authorBradley Sepos <bradley@bradleysepos.com>
Thu, 28 Dec 2017 18:49:44 +0000 (13:49 -0500)
committerBradley Sepos <bradley@bradleysepos.com>
Wed, 10 Jan 2018 06:39:54 +0000 (01:39 -0500)
Required for recent x264. Better to fail here than part-way through a build.

make/configure.py

index 71f310ea5ba9152903ccea80d5c0e0a98a88fc06..f4025981139cbc347f2603b1a0384191c6585e17 100644 (file)
@@ -1524,6 +1524,7 @@ try:
         ranlib   = ToolProbe( 'RANLIB.exe',   'ranlib' )
         strip    = ToolProbe( 'STRIP.exe',    'strip' )
         tar      = ToolProbe( 'TAR.exe',      'gtar', 'tar' )
+        nasm     = ToolProbe( 'NASM.exe',     'nasm', abort=True, minversion=[2,13,0] )
         yasm     = ToolProbe( 'YASM.exe',     'yasm', abort=False, minversion=[1,2,0] )
         autoconf = ToolProbe( 'AUTOCONF.exe', 'autoconf', abort=False )
         automake = ToolProbe( 'AUTOMAKE.exe', 'automake', abort=False )