Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68442 - in trunk/tools/build/v2: build engine/src
From: ghost_at_[hidden]
Date: 2011-01-25 14:51:06


Author: vladimir_prus
Date: 2011-01-25 14:51:05 EST (Tue, 25 Jan 2011)
New Revision: 68442
URL: http://svn.boost.org/trac/boost/changeset/68442

Log:
Commit the "don't stop when configure test fail" fix.

It appears to be only comitted to the release branch.

Text files modified:
   trunk/tools/build/v2/build/configure.jam | 3 ++-
   trunk/tools/build/v2/engine/src/builtins.c | 17 ++++++++++++++++-
   2 files changed, 18 insertions(+), 2 deletions(-)

Modified: trunk/tools/build/v2/build/configure.jam
==============================================================================
--- trunk/tools/build/v2/build/configure.jam (original)
+++ trunk/tools/build/v2/build/configure.jam 2011-01-25 14:51:05 EST (Tue, 25 Jan 2011)
@@ -141,7 +141,8 @@
         else
         {
             local x = [ PAD " - $(what)" : $(.width) ] ;
- if [ UPDATE_NOW $(jam-targets) : $(.log-fd) : ignore-minus-n ]
+ if [ UPDATE_NOW $(jam-targets) :
+ $(.log-fd) : ignore-minus-n : ignore-minus-q ]
             {
                 .$(what)-supported.$(ps) = yes ;
                 result = true ;

Modified: trunk/tools/build/v2/engine/src/builtins.c
==============================================================================
--- trunk/tools/build/v2/engine/src/builtins.c (original)
+++ trunk/tools/build/v2/engine/src/builtins.c 2011-01-25 14:51:05 EST (Tue, 25 Jan 2011)
@@ -26,6 +26,8 @@
 #include "timestamp.h"
 #include "md5.h"
 #include <ctype.h>
+# include <sys/types.h>
+# include <sys/wait.h>
 
 #if defined(USE_EXECUNIX)
 # include <sys/types.h>
@@ -202,7 +204,8 @@
       {
           char * args[] = { "targets", "*",
                             ":", "log", "?",
- ":", "ignore-minus-n", "?", 0 };
+ ":", "ignore-minus-n", "?",
+ ":", "ignore-minus-q", "?", 0 };
           bind_builtin( "UPDATE_NOW",
                         builtin_update_now, 0, args );
       }
@@ -1324,6 +1327,7 @@
     LIST * targets = lol_get( frame->args, 0 );
     LIST * log = lol_get( frame->args, 1 );
     LIST * force = lol_get (frame->args, 2);
+ LIST * continue_ = lol_get(frame->args, 3);
     int status = 0;
     int original_stdout;
     int original_stderr;
@@ -1353,6 +1357,12 @@
         globs.quitquick = 0;
     }
 
+ if (continue_)
+ {
+ original_quitquick = globs.quitquick;
+ globs.quitquick = 0;
+ }
+
     targets_count = list_length( targets );
     targets2 = (const char * *)BJAM_MALLOC( targets_count * sizeof( char * ) );
     for (i = 0 ; targets; targets = list_next( targets ) )
@@ -1366,6 +1376,11 @@
         globs.quitquick = original_quitquick;
     }
 
+ if (continue_)
+ {
+ globs.quitquick = original_quitquick;
+ }
+
     if (log)
     {
         /* Flush whatever stdio might have buffered, while descriptions


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk