From 402b97049af6654c6e243ea3c6cbbcfc91a459ad Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 2 Jun 2005 08:10:43 +0000 Subject: [PATCH] Report locations of user/site config files with --debug-configuration. [SVN r29367] --- src/build-system.jam | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/build-system.jam b/src/build-system.jam index e0ad90560..e4ae525b6 100755 --- a/src/build-system.jam +++ b/src/build-system.jam @@ -65,6 +65,12 @@ if ! $(ignore-config) { modules.load site-config : : /etc $(user-path) ; } + + if --debug-configuration in [ modules.peek : ARGV ] + { + ECHO "notice: loaded site-config.jam from " + [ NORMALIZE_PATH [ modules.binding site-config ] ] ; + } } @@ -78,6 +84,12 @@ module user-config if ! $(ignore-config) { modules.load user-config : : $(user-path) ; + if --debug-configuration in [ modules.peek : ARGV ] + { + ECHO "notice: loaded user-config.jam from " + [ NORMALIZE_PATH [ modules.binding user-config ] ] ; + } + }