summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure13
1 files changed, 10 insertions, 3 deletions
diff --git a/configure b/configure
index fd532cb51..3bf91a2ca 100755
--- a/configure
+++ b/configure
@@ -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") {