diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-29 00:53:04 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-29 00:53:04 +0000 |
commit | 0e79cbf8ba1bd3aa2ae8cc552a73b66a13bd4315 (patch) | |
tree | c6e1a31a88b8f1a24341558c604037bf1430ae01 | |
parent | 3df76b0d28a2beb6e8827bf90e253528f4977c49 (diff) |
Updated for test gcc4 compatibility
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1253 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-x | configure | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -364,10 +364,17 @@ sub writefiles { #define MAXBUF 514 EOF - if ($config{GCCVER} == 3) { + if ($config{GCCVER} > 3) { print FILEHANDLE "#define GCC3\n"; - if ($config{GCC34} > 3) { - print FILEHANDLE "#define GCC34\n"; + print FILEHANDLE "#define GCC34\n"; + } + else + { + if ($config{GCCVER} == 3) { + print FILEHANDLE "#define GCC3\n"; + if ($config{GCC34} > 3) { + print FILEHANDLE "#define GCC34\n"; + } } } if ($config{HAS_STRLCPY} eq "true") { |