serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1702264 - /serf/trunk/SConstruct
Date Thu, 10 Sep 2015 14:27:52 GMT
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'])



Mime
View raw message