Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
 configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index f135d05736..16d1832578 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2678,6 +2678,10 @@ if test -n "$with_gallium_drivers"; then
             HAVE_GALLIUM_NOUVEAU=yes
             PKG_CHECK_MODULES([NOUVEAU], [libdrm >= $LIBDRM_NOUVEAU_REQUIRED 
libdrm_nouveau >= $LIBDRM_NOUVEAU_REQUIRED])
             require_libdrm "nouveau"
+
+            if test "x$HAVE_CXX11" != "xyes"; then
+                AC_MSG_ERROR([gallium nouveau driver requires c++11 support])
+            fi
             ;;
         xfreedreno)
             HAVE_GALLIUM_FREEDRENO=yes
-- 
2.14.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to