diff options
-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") { |