summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-14 22:00:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-14 22:00:03 +0000
commit014f3452c723f371eab1933a537b5ac8a6c36969 (patch)
treecd49d9b03b47f485842ad05fb083f49b10c853ca
parentca63c99e8b662b0cfa5516028aa1cae3abc8186a (diff)
Bail if no g++
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3882 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index e97a0b568..665d13083 100755
--- a/configure
+++ b/configure
@@ -59,6 +59,11 @@ $no_svn = 0;
$config{HAS_OPENSSL} =~ /OpenSSL (\S+) \d+ \S+ \d{4}/;
$config{HAS_OPENSSL} = $1;
+if ($config{GCCVER} eq "") {
+ print "g++ was not found! You require g++ (the GNU C++ compiler, part of GCC) to build InspIRCd!\n";
+ return 0;
+}
+
# Minihack! Convert Cygwin to 'Cyg-Static' so i can
# Keep my dynamic module experiments here for later
# concideration!