wscript: variadic functions should be optional
authorPaul Brossier <piem@piem.org>
Mon, 30 Dec 2013 20:49:56 +0000 (16:49 -0400)
committerPaul Brossier <piem@piem.org>
Mon, 30 Dec 2013 20:49:56 +0000 (16:49 -0400)
wscript

diff --git a/wscript b/wscript
index 9e5664a..c2a074d 100644 (file)
--- a/wscript
+++ b/wscript
@@ -151,7 +151,8 @@ def configure(ctx):
 
     if ctx.check_cc(fragment = check_c99_varargs,
             type='cstlib',
-            msg = 'Checking for C99 __VA_ARGS__ macro'):
+            msg = 'Checking for C99 __VA_ARGS__ macro',
+            mandatory = False):
         ctx.define('HAVE_C99_VARARGS_MACROS', 1)
 
     # double precision mode