]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/configure.pm
Add a separate stats class for DNSBL errors.
[user/henk/code/inspircd.git] / make / configure.pm
index 305d75dcb63160e48917a4d9f0a078645f719c3f..001de5fc748f4014576e5426581e223be40ddf54 100644 (file)
@@ -179,7 +179,8 @@ FLAGS
                                 will search for c++, g++, clang++ or icpc.
 
 If you have any problems with configuring InspIRCd then visit our IRC channel
-at irc.inspircd.org #InspIRCd for support.
+at irc.inspircd.org #InspIRCd or create a support discussion at
+https://github.com/inspircd/inspircd/discussions.
 
 Packagers: see https://docs.inspircd.org/packaging/ for packaging advice.
 EOH
@@ -190,6 +191,8 @@ sub cmd_update {
        print_error "You have not run $0 before. Please do this before trying to update the generated files." unless -f CONFIGURE_CACHE_FILE;
        say 'Updating...';
        my %config = read_config_file(CONFIGURE_CACHE_FILE);
+       $config{EXAMPLE_DIR} //= catdir $config{CONFIG_DIR}, 'examples';
+       $config{RUNTIME_DIR} //= $config{DATA_DIR};
        my %compiler = get_compiler_info($config{CXX});
        my %version = get_version $config{DISTRIBUTION};
        parse_templates(\%config, \%compiler, \%version);