Update of /cvsroot/boost/boost/tools/build/v2/tools
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5511/tools/build/v2/tools
Modified Files:
package.jam
Log Message:
Restore BBv1 install functionality of installing to c:/Boost by default.
Index: package.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/package.jam,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- package.jam 2 Jul 2006 22:23:43 -0000 1.3
+++ package.jam 28 Oct 2006 15:22:17 -0000 1.4
@@ -1,4 +1,5 @@
# Copyright (c) 2005 Vladimir Prus.
+# Copyright 2006 Rene Rivera.
#
# Use, modification and distribution is subject to the Boost Software
# License Version 1.0. (See accompanying file LICENSE_1_0.txt or
@@ -53,9 +54,11 @@
install-header-subdir ?= "" ;
requirements = [ property.change $(requirements) : <install-header-subdir>
] ;
- # First, figure out all locations.
- local prefix = [ option.get prefix : "" ] ;
-
+ # First, figure out all locations. Use the default if no prefix option
given.
+ local prefix = [ option.get prefix :
+ [ property.select <install-default-prefix> : $(requirements) ] ] ;
+ requirements = [ property.change $(requirements) :
<install-default-prefix> ] ;
+ # Or some likely defaults if neither is given.
if ! $(prefix)
{
if [ modules.peek : NT ] { prefix = C:\\$(name) ; }
-------------------------------------------------------------------------
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
|