X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=d7cf0d732917a1e02e0b6c6053933ca2d24039be;hb=7492344e64491cea6bbb5c9354dceb804bb908ac;hp=2a1d260f5b6a38b835072c187ba539ee9d3180ac;hpb=541a66de7adbfe57dd4d3e998e8cc0db5585a266;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index 2a1d260f5..d7cf0d732 100755 --- 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 ( && 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:|> <> - * m_foo - * m_bar - * m_baz +<|GREEN Extra Modules:|> +EOM + +for my $file () { + my $module = basename $file, '.cpp'; + print " * $module\n" if -l $file; +} + +print_format <<"EOM"; <|GREEN Paths:|> <|GREEN Base:|> $config{BASE_DIR}