summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:08:23 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:08:23 +0000
commitf3515fa3a48f28890d14032df9336dd6ee473e56 (patch)
treea1b9c4a82cc83b89ec1d941542fd445218441618
parentb04195317ae7c65f011025740e43079159734a33 (diff)
Make the FreeBSD 4 message useful
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11584 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 9795ec100..974121e78 100755
--- a/configure
+++ b/configure
@@ -523,8 +523,9 @@ if ($config{OSNAME} =~ /FreeBSD/i)
my $version = `uname -r`;
if ($version =~ /^4\./)
{
- print "yes\n";
- exit 1;
+ print "yes. Please upgrade, FreeBSD 4.x is no longer supported\n";
+ print "To build, you will need to add the following to CXXFLAGS:\n";
+ print "\t-L/usr/local/lib -lgnugetopt -DHAVE_DECL_GETOPT=1\n";
}
else
{