configure: Check xcb version when X11 pkgconfig exists
authorTom Stellard <tstellar@gmail.com>
Fri, 13 Jul 2012 13:46:23 +0000 (13:46 +0000)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 12 Aug 2012 22:42:43 +0000 (15:42 -0700)
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@whitecape.org>
configure.ac

index 89686b47fcfdadbe2601c3e62dc65a00a6292f69..2ecedaf0b1def668a662d1735347093c6f50ce32 100644 (file)
@@ -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