From 806b4d55a2f19b6521c34af6210c323a1beb414b Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Thu, 6 Jun 2019 22:28:25 +0100 Subject: Add a configure warning about OpenBSDs broken compilers/linkers. --- configure | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure') 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'; -- cgit v1.2.3