From 6d744aaf4e427b6b0b3d8d35d756592a50abbb97 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 19 Jun 2015 17:19:46 +0100 Subject: configure: warn about shared_glapi & xlib-glx only when both are set Printing out the message when shared_glapi is disabled only leads to confusion. Cc: "10.5 10.6" Signed-off-by: Emil Velikov Reviewed-by: Eric Anholt --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3c763c27b9f..5161361908d 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 -- cgit v1.2.3