summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-12-18 23:33:20 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-12-18 23:33:20 +0100
commit8f13eddcd3f23a2c47e88e176f2e5032f8227450 (patch)
tree6d1502231666f4471a44e44c29c6e899812899b7 /configure
parentb0676698152d88c76020b0fa51942d7297f152f3 (diff)
parentbdaccea9600285febd1fabc3dddb6dbec9947f42 (diff)
Merge pull request #953 from SaberUK/master+configure-oversights
Fix some oversights from #895.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 10 insertions, 5 deletions
diff --git a/configure b/configure
index c4f0dffc7..d7cf0d732 100755
--- a/configure
+++ b/configure
@@ -300,7 +300,7 @@ if (<src/modules/m_ssl_*.cpp> && prompt_bool $interactive, 'Would you like to ge
system './tools/genssl', 'auto';
}
-write_configure_cache %config if $interactive;
+write_configure_cache %config;
parse_templates \%config, \%compiler, \%version;
print_format <<"EOM";
@@ -312,10 +312,15 @@ Configuration is complete! You have chosen to build with the following settings:
<|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}