[Mesa-stable] [PATCH 01/71] st/nine: Require gcc >= 4.6

Axel Davy axel.davy at ens.fr
Sun Aug 16 07:27:17 PDT 2015


From: David Heidelberg <david at ixit.cz>

Fixes bug: fdo #89978

Signed-off-by: David Heidelberg <david at ixit.cz>
Cc: "10.4 10.5 10.6" <mesa-stable at lists.freedesktop.org>
---
 configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index 4e751e3..c355092 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1632,6 +1632,10 @@ if test "x$enable_nine" = xyes; then
     if test "x$with_gallium_drivers" = xswrast; then
         AC_MSG_ERROR([nine requires at least one non-swrast gallium driver])
     fi
+    if test $GCC_VERSION_MAJOR -lt 4 -o $GCC_VERSION_MAJOR -eq 4 -a $GCC_VERSION_MINOR -lt 6; then
+        AC_MSG_ERROR([gcc >= 4.6 is required to build nine])
+    fi
+
     if test "x$enable_dri3" = xno; then
         AC_MSG_WARN([using nine together with wine requires DRI3 enabled system])
     fi
-- 
2.5.0



More information about the mesa-stable mailing list