[Mesa-dev] [PATCH] configure: Check xcb version when X11 pkgconfig exists

Tom Stellard tstellar at gmail.com
Fri Jul 13 06:46:23 PDT 2012


Commit 6882381a2efbdf06b7002d11468c94b9964c2bc8 added a dependency on a
newer version of xcb, but the version check wasn't added in all the
necessary places.
---
 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 00a1d5d..0d38db5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1001,6 +1001,7 @@ xyesno)
 
     # find the DRI deps for libGL
     if test "$x11_pkgconfig" = yes; then
+        PKG_CHECK_MODULES([XCB],[x11-xcb xcb-glx >= 1.8.1])
         dri_modules="x11 xext xdamage xfixes x11-xcb xcb-glx"
 
         # add xf86vidmode if available
-- 
1.7.7.6



More information about the mesa-dev mailing list