summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-19 17:08:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-19 17:08:59 +0000
commit33701bf0ece871b68cd02df9e5adcf7d2d63df56 (patch)
tree9659d56734ea99a6aca5561fff618c3c82410ddd
parent7a49be0b34bfe4a8dd76600de98d68cd474ea6d6 (diff)
Check g++ not gcc in configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3733 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index d4cdd579e..960d4a1ec 100755
--- a/configure
+++ b/configure
@@ -39,8 +39,8 @@ $config{THREADED_DNS} = "n"; # threaded dns (experimental)
$config{STATIC_LINK} = "no"; # are doing static modules?
chomp($config{MAX_CLIENT_T} = `sh -c \"ulimit -n\"`); # FD Limit
chomp($config{MAX_DESCRIPTORS} = `sh -c \"ulimit -n\"`); # Hard FD Limit
-chomp($config{GCCVER} = `gcc -dumpversion | cut -c 1`); # Major GCC Version
-chomp($config{GCC34} = `gcc -dumpversion | cut -c 3`); # Minor GCC Version
+chomp($config{GCCVER} = `g++ -dumpversion | cut -c 1`); # Major GCC Version
+chomp($config{GCC34} = `g++ -dumpversion | cut -c 3`); # Minor GCC Version
chomp($config{OSNAME} = `/bin/uname`); # Operating System Name
$config{CC} = "g++"; # C++ compiler
$config{MAKEORDER} = "ircd mods"; # build order