[Mesa-dev] [PATCH 2/3] configure: require c++11 for the gallium nouveau driver

Rhys Perry pendingchaos02 at gmail.com
Fri Jun 29 10:57:57 UTC 2018


Signed-off-by: Rhys Perry <pendingchaos02 at 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



More information about the mesa-dev mailing list