configure: correctly report if we're building the sw/xlib winsys
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 22 Feb 2014 16:47:21 +0000 (16:47 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 24 Feb 2014 14:57:41 +0000 (14:57 +0000)
While looking at bug 75356, I've noticed that the presence of
x11 egl platform pulls in sw/xlib as "needed" but fails to
report so at the end of configure.

Tested-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
configure.ac

index d42803c8a45d7d60d1d54dff5d51aca1b0c34feb..24ffc545b78dbd586a876082bf5d8204e69e10c5 100644 (file)
@@ -1448,6 +1448,7 @@ else
 fi
 
 if echo "$egl_platforms" | grep 'x11' >/dev/null 2>&1; then
+    GALLIUM_WINSYS_DIRS="$GALLIUM_WINSYS_DIRS sw/xlib"
     NEED_WINSYS_XLIB=yes
 fi
 AM_CONDITIONAL(HAVE_EGL_PLATFORM_X11, echo "$egl_platforms" | grep 'x11' >/dev/null 2>&1)