X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=5ab87f528090d685931f1351d262b3186987970b;hb=43e31bba5429849fdebeddc65f7e6f267211181f;hp=e2e0828a2e63e5ef65306dddc5f46a9bca80aa2e;hpb=a55ca0056963159b0e4cbc88f28c5c82cd44b05e;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index e2e0828a2..5ab87f528 100755 --- a/configure +++ b/configure @@ -187,7 +187,7 @@ if (defined $opt_system) { $config{BINARY_DIR} = $opt_binary_dir // '/usr/sbin'; $config{CONFIG_DIR} = $opt_config_dir // '/etc/inspircd'; $config{DATA_DIR} = $opt_data_dir // '/var/inspircd'; - $config{LOG_DIR} = $opt_module_dir // '/var/log/inspircd'; + $config{LOG_DIR} = $opt_log_dir // '/var/log/inspircd'; $config{MANUAL_DIR} = $opt_manual_dir // '/usr/share/man/man1'; $config{MODULE_DIR} = $opt_module_dir // '/usr/lib/inspircd'; $config{SCRIPT_DIR} = $opt_script_dir // '/usr/share/inspircd' @@ -263,6 +263,15 @@ configured on the Hardware Node. Failure to do so may result in clock drifting! EOW } +# Warn the user about OpenBSD shipping incredibly broken compilers/linkers. +if ($^O eq 'openbsd') { + print_warning <<'EOW'; +You are building InspIRCd on OpenBSD. The C++ compilers and linkers +that OpenBSD ship are incredibly broken. You may have strange linker errors +and crashes. Please consider using a different OS like FreeBSD/NetBSD instead. +EOW +} + # Check that the user actually wants this version. if (defined $version{REAL_LABEL}) { print_warning <<'EOW';