summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-06-06 22:28:25 +0100
committerPeter Powell <petpow@saberuk.com>2019-06-06 22:28:25 +0100
commit806b4d55a2f19b6521c34af6210c323a1beb414b (patch)
tree341518546db0a5424f754ff9e6fa989576d57ef7
parent08eee19aff6451171d1c63ecdf9a2c4820bf9da0 (diff)
Add a configure warning about OpenBSDs broken compilers/linkers.
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index 328fefe17..5ab87f528 100755
--- a/configure
+++ b/configure
@@ -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';