configure: warn about shared_glapi & xlib-glx only when both are set
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 19 Jun 2015 16:19:46 +0000 (17:19 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 23 Jun 2015 16:02:50 +0000 (17:02 +0100)
Printing out the message when shared_glapi is disabled only leads to
confusion.

Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
configure.ac

index 3c763c27b9f5bb53bd51c789b036fcac8c6fc9f4..5161361908dd8ad7561bc0cb0c3f6f1ff27ba9e1 100644 (file)
@@ -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