I'm pretty sure we don't compile anymore with GCC 4.0.

Raise to 4.1, until somebody complains, in which case probably raise
even more :).

Change-Id: I861ccbfb393811d27bedcb1524027fdbc927e55f
This commit is contained in:
Luboš Luňák
2013-08-09 18:14:34 +02:00
parent 63a1212a42
commit eda55cdf98

View File

@@ -2968,8 +2968,8 @@ if test "$GCC" = "yes" -a -z "$COM_GCC_IS_CLANG"; then
GCC_VERSION=`echo $_gcc_version | $AWK -F. '{ print \$1*100+\$2 }'`
AC_MSG_RESULT([gcc $_gcc_version])
if test "$GCC_VERSION" -lt 0400; then
AC_MSG_ERROR([GCC $_gcc_version is too old, must be at least GCC 4.0.0])
if test "$GCC_VERSION" -lt 0401; then
AC_MSG_ERROR([GCC $_gcc_version is too old, must be at least GCC 4.1.0])
fi
else
# Explicitly force GCC_VERSION to be empty, even for Clang, to check incorrect uses.