use Getopt::Long qw(GetOptions);
use POSIX qw(getgid getuid);
+use make::common;
use make::configure;
use make::console;
-use make::utilities;
my ($opt_binary_dir,
$opt_config_dir,
system './tools/genssl', 'auto';
}
-write_configure_cache %config if $interactive;
+write_configure_cache %config;
parse_templates \%config, \%compiler, \%version;
print_format <<"EOM";
<|GREEN Name:|> $compiler{NAME}
<|GREEN Version:|> $compiler{VERSION}
-<|GREEN Extra Modules:|> <<TODO>>
- * m_foo
- * m_bar
- * m_baz
+<|GREEN Extra Modules:|>
+EOM
+
+for my $file (<src/modules/m_*>) {
+ my $module = basename $file, '.cpp';
+ print " * $module\n" if -l $file;
+}
+
+print_format <<"EOM";
<|GREEN Paths:|>
<|GREEN Base:|> $config{BASE_DIR}