summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-10-04 17:08:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-10-04 17:47:22 +0200
commit4bcf34ae5a524d4c35407bd087aef52c4592011c (patch)
treeaa6eb92499b5123cffc5e21f3bb94aa95af84753
parentda6c468f337ecafd69b5e0942000ed1bb7415e34 (diff)
Codify the fact that GCC < 4 is not supported any more
Change-Id: I8d0eb681cdfefbf7524de4478e3296ca797b4c5e
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 25ab277e463a..8fb72878fb6a 100644
--- a/configure.in
+++ b/configure.in
@@ -2919,6 +2919,9 @@ if test "$GCC" = "yes"; then
else
AC_MSG_RESULT([gcc $_gcc_version])
fi
+ if test "$GCCVER" -lt 040000; then
+ AC_MSG_ERROR([GCC $_gcc_version is too old, must be at least GCC 4.0.0])
+ fi
fi
dnl ===================================================================