Update of /cvsroot/boost/boost/tools/build/v2/tools
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv10229
Modified Files:
Tag: RC_1_34_0
gcc.jam
Log Message:
Merge: Unbreak multi-element gcc commands
Index: gcc.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/gcc.jam,v
retrieving revision 1.63.2.18
retrieving revision 1.63.2.19
diff -u -d -r1.63.2.18 -r1.63.2.19
--- gcc.jam 25 Oct 2006 19:45:11 -0000 1.63.2.18
+++ gcc.jam 30 Oct 2006 08:36:14 -0000 1.63.2.19
@@ -75,8 +75,11 @@
# Autodetect the version and flavor if not given.
if $(command)
{
+ # The 'command' variable can have multiple-element. When calling
+ # the SHELL builtin we need a single string.
+ local command-string = $(command:J=" ") ;
local command-info = [ MATCH "^[^ ]+[ ]+[^ ]+[ ]+([^
]+)[^(]*[(]?([^)]*)"
- : [ SHELL "$(command) --version" ] ] ;
+ : [ SHELL "$(command-string) --version" ] ] ;
version ?= $(command-info[1]) ;
switch $(command-info[2]:L)
{
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
|