diff options
author | lloyd <[email protected]> | 2008-09-29 18:37:09 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-09-29 18:37:09 +0000 |
commit | e63769278a2be5c2b36007885fb16d2c91e4c3e4 (patch) | |
tree | 1a4d0822f5985f153c67c92a8ef381e894844e74 /configure.pl | |
parent | abaf8b03a1dece8116daa41146aa3bf938794353 (diff) |
Fix display of loaded modules
Diffstat (limited to 'configure.pl')
-rwxr-xr-x | configure.pl | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/configure.pl b/configure.pl index 24ce48d8f..b1f8a32a8 100755 --- a/configure.pl +++ b/configure.pl @@ -479,23 +479,27 @@ sub autoload_modules { $$config{'modules'}{$mod} = -1; next MOD; } - } else { - autoconfig("Enabling module $req_mod - required by $mod"); + autoconfig("Enabling module $req_mod; " . + "required by $mod '$realname'"); + + my $req_type = $MODULES{$req_mod}{'type'}; + + $loaded{$req_type}{$req_mod} = 1; $$config{'modules'}{$req_mod} = 1; - $loaded{$type}{$mod} = 1; load_module($config, $req_mod); } } - #autoconfig("Enabling $mod ($realname): loading"); + trace("Enabling $mod ($realname): loading"); $loaded{$type}{$mod} = 1; $$config{'modules'}{$mod} = 1; } for my $type (sort keys %loaded) { my %mods = %{$loaded{$type}}; - autoconfig("*** Loading $type: " . join(' ', sort keys %mods)); + print with_diagnostic('loading', + $type . ': ' . join(' ', sort keys %mods)); } } |