diff --git a/boost_build_v2.html b/boost_build_v2.html index 94f7827f7..41ca08ed4 100644 --- a/boost_build_v2.html +++ b/boost_build_v2.html @@ -4,14 +4,13 @@
+ "HTML Tidy for Linux/x86 (vers 1st March 2002), see www.w3.org">Locations where those files a search are summarized below:
+ +| + | + +site-config.jam | + +user-config.jam | +
| Linux | + +/etc + $HOME + $BOOST_BUILD_PATH |
+
+ $HOME + $BOOST_BUILD_PATH |
+
| Windows | + +$SystemRoot + $HOME + $BOOST_BUILD_PATH |
+
+ $HOME + $BOOST_BUILD_PATH |
+
The comamnd line may contain:
diff --git a/new/build-system.jam b/new/build-system.jam index cb1af6d2a..2ae549a98 100644 --- a/new/build-system.jam +++ b/new/build-system.jam @@ -11,11 +11,22 @@ import errors : error ; import builtin ; import make ; +import os ; import version ; -import site-config ; -import user-config ; +local user-path = [ modules.peek : HOME ] [ modules.peek : BOOST_BUILD_PATH ] ; +if [ os.name ] in NT CYGWIN +{ + modules.load site-config : : [ modules.peek : SystemRoot ] $(user-path) ; + modules.load user-config : : $(user-path) ; +} +else +{ + modules.load site-config : : /etc $(user-path) ; + modules.load user-config : : $(user-path) ; +} + if --version in [ modules.peek : ARGV ] { diff --git a/v2/boost_build_v2.html b/v2/boost_build_v2.html index 94f7827f7..41ca08ed4 100644 --- a/v2/boost_build_v2.html +++ b/v2/boost_build_v2.html @@ -4,14 +4,13 @@ + "HTML Tidy for Linux/x86 (vers 1st March 2002), see www.w3.org">Locations where those files a search are summarized below:
+ +| + | + +site-config.jam | + +user-config.jam | +
| Linux | + +/etc + $HOME + $BOOST_BUILD_PATH |
+
+ $HOME + $BOOST_BUILD_PATH |
+
| Windows | + +$SystemRoot + $HOME + $BOOST_BUILD_PATH |
+
+ $HOME + $BOOST_BUILD_PATH |
+
The comamnd line may contain: