]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - configure
Check the unset level in autoop as well as the set level.
[user/henk/code/inspircd.git] / configure
index e2e0828a2e63e5ef65306dddc5f46a9bca80aa2e..5ab87f528090d685931f1351d262b3186987970b 100755 (executable)
--- 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';