From: Timothy Arceri Date: Fri, 12 Dec 2014 08:12:48 +0000 (+1100) Subject: mesa: bump required GCC version to 4.1.0 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78e1246bece3d14e2e0c194493e676e9c50f342f;p=mesa.git mesa: bump required GCC version to 4.1.0 Signed-off-by: Timothy Arceri Reviewed-By: Jose Fonseca Reviewed-by: Ian Romanick Reviewed-by: Matt Turner --- diff --git a/configure.ac b/configure.ac index dc7bbceda01..fdb76760c4f 100644 --- a/configure.ac +++ b/configure.ac @@ -102,7 +102,7 @@ AC_COMPILE_IFELSE( AC_MSG_RESULT([$acv_mesa_CLANG]) -dnl If we're using GCC, make sure that it is at least version 3.3.0. Older +dnl If we're using GCC, make sure that it is at least version 4.1.0. Older dnl versions are explictly not supported. GEN_ASM_OFFSETS=no if test "x$GCC" = xyes -a "x$acv_mesa_CLANG" = xno; then @@ -116,9 +116,9 @@ if test "x$GCC" = xyes -a "x$acv_mesa_CLANG" = xno; then GCC_VERSION_MINOR=`echo $GCC_VERSION | cut -d. -f2` fi - if test $GCC_VERSION_MAJOR -lt 3 -o $GCC_VERSION_MAJOR -eq 3 -a $GCC_VERSION_MINOR -lt 3 ; then + if test $GCC_VERSION_MAJOR -lt 4 -o $GCC_VERSION_MAJOR -eq 4 -a $GCC_VERSION_MINOR -lt 1 ; then AC_MSG_RESULT([no]) - AC_MSG_ERROR([If using GCC, version 3.3.0 or later is required.]) + AC_MSG_ERROR([If using GCC, version 4.1.0 or later is required.]) else AC_MSG_RESULT([yes]) fi