[Mesa-dev] [PATCH 01/11] configure: warn about shared_glapi & xlib-glx only when both are set

Emil Velikov emil.l.velikov at gmail.com
Fri Jun 19 12:56:46 PDT 2015


Printing out the message when shared_glapi is disabled only leads to
confusion.

Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 3c763c2..5161361 100644
--- a/configure.ac
+++ b/configure.ac
@@ -942,7 +942,7 @@ x*yes*yes*)
 esac
 
 # Building Xlib-GLX requires shared glapi to be disabled.
-if test "x$enable_xlib_glx" = xyes; then
+if test "x$enable_shared_glapi$enable_xlib_glx" = xyesyes; then
     AC_MSG_NOTICE([Shared GLAPI should not used with Xlib-GLX, disabling])
     enable_shared_glapi=no
 fi
-- 
2.4.2



More information about the mesa-dev mailing list