svn commit: r1702264 - /serf/trunk/SConstruct

[email protected] Thu, 10 Sep 2015 14:27:52 -0000
Newsgroups gmane.comp.apache.apr.serf.devel
Message-ID <20150910142752.3B0D2AC0041__9919.68065868623$1443916114$gmane$org@hades.apache.org>
Author: rhuijben
Date: Thu Sep 10 14:27:51 2015
New Revision: 1702264

URL: http://svn.apache.org/r1702264
Log:
Stop handling every unknown argument to SCons as an error.

SCons supports quite a few arguments itself which it would be able to handle
if we didn't bail directly.

* SConstruct
  Just warn on unknown arguments instead of fail.

Modified:
    serf/trunk/SConstruct

Modified: serf/trunk/SConstruct
URL: http://svn.apache.org/viewvc/serf/trunk/SConstruct?rev=1702264&r1=1702263&r2=1702264&view=diff
==============================================================================
--- serf/trunk/SConstruct (original)
+++ serf/trunk/SConstruct Thu Sep 10 14:27:51 2015
@@ -188,8 +188,7 @@ CALLOUT_OKAY = not (env.GetOption('clean
 
 unknown = opts.UnknownVariables()
 if unknown:
-  print 'Unknown variables:', ', '.join(unknown.keys())
-  Exit(1)
+  print 'Warning: Used unknown variables:', ', '.join(unknown.keys())
 
 apr = str(env['APR'])
 apu = str(env['APU'])