Mesa (staging/18.2): autotools: error out when building with mangling and glvnd
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Aug 9 00:50:37 UTC 2018
Module: Mesa
Branch: staging/18.2
Commit: c70920697759f3c5257806168be9009364025cf4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c70920697759f3c5257806168be9009364025cf4
Author: Emil Velikov <emil.velikov at collabora.com>
Date: Fri Feb 23 19:32:05 2018 +0000
autotools: error out when building with mangling and glvnd
It's not a thing that can work, nor is a wise idea to attempt.
v2: Tweak error message (Dylan)
CC: <mesa-stable at lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Adam Jackson <ajax at redhat.com> (v1)
(cherry picked from commit 25a9450a44b3b572fba81e6cafe33f3367252499)
---
configure.ac | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure.ac b/configure.ac
index 8f5911ab69..ff4828c5b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1523,6 +1523,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([Conflicting options --enable-mangling and --enable-libglvnd.])
+ fi
DEFINES="${DEFINES} -DUSE_MGL_NAMESPACE"
GL_LIB="Mangled${GL_LIB}"
OSMESA_LIB="Mangled${OSMESA_LIB}"
More information about the mesa-commit
mailing list