]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Bail if no g++
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 14 Apr 2006 22:00:03 +0000 (22:00 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 14 Apr 2006 22:00:03 +0000 (22:00 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3882 e03df62e-2008-0410-955e-edbf42e46eb7

configure

index e97a0b568871facf8c62f4077e647f1227dc8240..665d130830976e53276362d48c915130314d01a8 100755 (executable)
--- 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!