]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - configure
Add SocketEngine::WriteV()
[user/henk/code/inspircd.git] / configure
index 2a1d260f5b6a38b835072c187ba539ee9d3180ac..d7cf0d732917a1e02e0b6c6053933ca2d24039be 100755 (executable)
--- a/configure
+++ b/configure
@@ -39,9 +39,9 @@ use File::Spec::Functions qw(rel2abs);
 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,
@@ -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}