|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r75888 - trunk/tools/build/v2/build
From: steven_at_[hidden]
Date: 2011-12-10 15:56:33
Author: steven_watanabe
Date: 2011-12-10 15:56:32 EST (Sat, 10 Dec 2011)
New Revision: 75888
URL: http://svn.boost.org/trac/boost/changeset/75888
Log:
Fix the option rule.
Text files modified:
trunk/tools/build/v2/build/project.jam | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/tools/build/v2/build/project.jam
==============================================================================
--- trunk/tools/build/v2/build/project.jam (original)
+++ trunk/tools/build/v2/build/project.jam 2011-12-10 15:56:32 EST (Sat, 10 Dec 2011)
@@ -1109,7 +1109,8 @@
rule option ( name : value )
{
- if $(__name__) != site-config && $(__name__) != user-config && $(__name__) != project-config
+ local m = [ CALLER_MODULE ] ;
+ if $(m) != site-config && $(m) != user-config && $(m) != project-config
{
import errors ;
errors.error "The 'option' rule may be used only in site-config or user-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