wscript: shorten line
authorPaul Brossier <piem@piem.org>
Fri, 17 Mar 2017 00:09:34 +0000 (01:09 +0100)
committerPaul Brossier <piem@piem.org>
Fri, 17 Mar 2017 00:09:34 +0000 (01:09 +0100)
wscript

diff --git a/wscript b/wscript
index 10e9be4..4402171 100644 (file)
--- a/wscript
+++ b/wscript
@@ -340,7 +340,8 @@ def configure(ctx):
         elif 'HAVE_AVUTIL' not in ctx.env:
             ctx.msg(msg_check, 'not found (missing avutil)', color = 'YELLOW')
         elif 'HAVE_SWRESAMPLE' not in ctx.env and 'HAVE_AVRESAMPLE' not in ctx.env:
         elif 'HAVE_AVUTIL' not in ctx.env:
             ctx.msg(msg_check, 'not found (missing avutil)', color = 'YELLOW')
         elif 'HAVE_SWRESAMPLE' not in ctx.env and 'HAVE_AVRESAMPLE' not in ctx.env:
-            ctx.msg(msg_check, 'not found (avresample or swresample required)', color = 'YELLOW')
+            resample_missing = 'not found (avresample or swresample required)'
+            ctx.msg(msg_check, resample_missing, color = 'YELLOW')
         else:
             ctx.msg(msg_check, 'yes')
             if 'HAVE_SWRESAMPLE' in ctx.env:
         else:
             ctx.msg(msg_check, 'yes')
             if 'HAVE_SWRESAMPLE' in ctx.env: