diff options
author | Peter Powell <petpow@saberuk.com> | 2014-12-18 16:01:10 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2014-12-18 16:43:58 +0000 |
commit | bdaccea9600285febd1fabc3dddb6dbec9947f42 (patch) | |
tree | 845e9b832dea2a9ccc1daa5e7ae62dd34a518bf4 /configure | |
parent | 7cb79020b7a9d7431d3038953c8e05ec0f2158c7 (diff) |
Fix some oversights from #895.
- Always write the configure cache file as it is needed for updating
the makefile when --update is called.
- List the modules which have been enabled in the "configuration
complete" message.
- Silence some harmless warnings about installing PEM files which
don't exist.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -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} |