mirror of
https://github.com/boostorg/build.git
synced 2026-02-12 12:02:24 +00:00
Allow to reinitialize Whale support several time, provided the path
is always the same. [SVN r30356]
This commit is contained in:
@@ -21,11 +21,15 @@ import errors ;
|
||||
rule init ( path # path the Whale/Dolphin/WD binaries
|
||||
)
|
||||
{
|
||||
if $(.configured)
|
||||
if $(.configured) && $(.path) != $(path)
|
||||
{
|
||||
errors.error "Attempt to reconfigure Whale support" ;
|
||||
errors.user-error "Attempt to reconfigure Whale support" :
|
||||
"Previously configured with path \"$(.path:E=<empty>)\"" :
|
||||
"Now configuring with path \"$(path:E=<empty>)\"" ;
|
||||
|
||||
}
|
||||
.configured = true ;
|
||||
.path = $(path) ;
|
||||
|
||||
.whale = [ path.join $(path) whale ] ;
|
||||
.dolphin = [ path.join $(path) dolphin ] ;
|
||||
|
||||
Reference in New Issue
Block a user