[Mesa-dev] [PATCH 6/9] autotools: error out when building with mangling and glvnd

Emil Velikov emil.l.velikov at gmail.com
Fri Feb 23 19:32:05 UTC 2018


From: Emil Velikov <emil.velikov at collabora.com>

It's not a thing that can work, nor is a wise idea to attempt.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index d56d771dcd6..1e794d3f16d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1501,6 +1501,9 @@ AC_ARG_ENABLE([mangling],
   [enable_mangling=no]
 )
 if test "x${enable_mangling}" = "xyes" ; then
+  if test "x$enable_libglvnd" = xyes; then
+    AC_MSG_ERROR([Building --enable-mangling with --enable-libglvnd no allowed.])
+  fi
   DEFINES="${DEFINES} -DUSE_MGL_NAMESPACE"
   GL_LIB="Mangled${GL_LIB}"
   OSMESA_LIB="Mangled${OSMESA_LIB}"
-- 
2.16.0



More information about the mesa-dev mailing list