summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2010-07-21 10:49:59 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2010-07-21 10:49:59 +0800
commitfb9d9c2033b2e2fdb7da0c2e5e6741fc2e6123fb (patch)
tree606f57c6c2400a30c1a44584d2eb722d0c059551 /configure.ac
parentbaeeaf9e30a33f52afc08e53ea575ab00d11992a (diff)
downloadlibva-fb9d9c2033b2e2fdb7da0c2e5e6741fc2e6123fb.tar.gz
Fix to require libdrm 2.4.21 or newer for i965 video driver.
This is necessary to support BSD command
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index fce164c..c3fa124 100644
--- a/configure.ac
+++ b/configure.ac
@@ -103,9 +103,9 @@ PKG_CHECK_MODULES([DRM], [libdrm])
PKG_CHECK_MODULES(GEN4ASM, [intel-gen4asm >= 1.0], [gen4asm=yes], [gen4asm=no])
AM_CONDITIONAL(HAVE_GEN4ASM, test x$gen4asm = xyes)
-# Check for libdrm >= 2.4 (needed for i965_drv_video.so)
-if test x$enable_i965_driver = xyes && ! $PKG_CONFIG --atleast-version=2.4 libdrm; then
- AC_MSG_WARN([libdrm < 2.4 found, disabling build of i965 video driver])
+# Check for libdrm >= 2.4.21 (needed for i965_drv_video.so)
+if test x$enable_i965_driver = xyes && ! $PKG_CONFIG --atleast-version=2.4.21 libdrm; then
+ AC_MSG_WARN([libdrm < 2.4.21 found, disabling build of i965 video driver])
enable_i965_driver=no
fi
AM_CONDITIONAL(BUILD_I965_DRIVER, test x$enable_i965_driver = xyes)