Module: Mesa
Branch: master
Commit: 17798bfb47fafdb1f6d3c7f128d5dff178db6071
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=17798bfb47fafdb1f6d3c7f128d5dff178db6071

Author: Emil Velikov <[email protected]>
Date:   Sat Jul 12 00:05:56 2014 +0100

configure: check for core xcb and link libEGL against it

Make sure to check the presence of the module in order to pick the
correct libs flag and before feeding them to the compiler/linker.

Current libEGL depends conditionally (when building with x11 platform)
upon xcb.

Signed-off-by: Emil Velikov <[email protected]>

---

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index c800f25..e4778d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1548,7 +1548,7 @@ for plat in $egl_platforms; do
                ;;
 
        x11)
-               PKG_CHECK_MODULES([XCB_DRI2], [x11-xcb xcb-dri2 >= 
$XCBDRI2_REQUIRED xcb-xfixes])
+               PKG_CHECK_MODULES([XCB_DRI2], [x11-xcb xcb xcb-dri2 >= 
$XCBDRI2_REQUIRED xcb-xfixes])
                ;;
 
        drm)

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to