|
Boost-Commit : |
From: roland.schwarz_at_[hidden]
Date: 2007-08-13 12:39:04
Author: speedsnail
Date: 2007-08-13 12:39:02 EDT (Mon, 13 Aug 2007)
New Revision: 38620
URL: http://svn.boost.org/trac/boost/changeset/38620
Log:
Added support for BOOST_USER_CONFIG environment variable. This variable is able to take the same rhs as --user-config= switch. The switch still overrides the variable when present. (This has been added to allow for the BOOST_BUILD_PATH to be restored to its original i.e. documented behaviour.)
Text files modified:
trunk/tools/build/v2/build-system.jam | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Modified: trunk/tools/build/v2/build-system.jam
==============================================================================
--- trunk/tools/build/v2/build-system.jam (original)
+++ trunk/tools/build/v2/build-system.jam 2007-08-13 12:39:02 EDT (Mon, 13 Aug 2007)
@@ -126,6 +126,8 @@
local user-config-path = [ MATCH ^--user-config=(.*) : $(argv) ] ;
+user-config-path ?= [ os.environ BOOST_USER_CONFIG ] ;
+
if $(user-config-path)
{
if $(debug-config)
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