From 014f3452c723f371eab1933a537b5ac8a6c36969 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 14 Apr 2006 22:00:03 +0000 Subject: [PATCH] Bail if no g++ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3882 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 5 +++++ 1 file changed, 5 insertions(+) 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! -- 2.39.5