Mesa (master): configure: Check xcb version when X11 pkgconfig exists

Kenneth Graunke kwg at kemper.freedesktop.org
Sun Aug 12 22:43:06 UTC 2012


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

Author: Tom Stellard <tstellar at gmail.com>
Date:   Fri Jul 13 13:46:23 2012 +0000

configure: Check xcb version when X11 pkgconfig exists

Commit 6882381a2efbdf06b7002d11468c94b9964c2bc8 added a dependency on a
newer version of xcb, but the version check wasn't added in all the
necessary places.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 89686b4..2ecedaf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -976,6 +976,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




More information about the mesa-commit mailing list