From: Emil Velikov Date: Fri, 11 Jul 2014 23:05:56 +0000 (+0100) Subject: configure: check for core xcb and link libEGL against it X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=17798bfb47fafdb1f6d3c7f128d5dff178db6071;p=mesa.git 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 --- diff --git a/configure.ac b/configure.ac index c800f258eaf..e4778d8ef7e 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)