summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2009-07-27 16:35:56 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2009-07-27 17:13:24 +0800
commitd5cad376c564751f7a442ea70cf4e68ca2cb20ee (patch)
tree58f93f64fed210a70d141f2d2f1e3fd43510ea28
parentf5b058c0d22f2cc0458c19f2c24b5d6ed233d2e3 (diff)
downloadlibva-d5cad376c564751f7a442ea70cf4e68ca2cb20ee.tar.gz
Check the version of intel-gen4asm in configure.ac
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a3a32e7..50fd976 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,7 +39,7 @@ PKG_CHECK_MODULES([XEXT],[xext])
PKG_CHECK_MODULES([DRM], [libdrm])
PKG_CHECK_MODULES(LIBDRM_DEPS, [libdrm])
-AC_CHECK_PROG(gen4asm, [intel-gen4asm], yes, no)
+PKG_CHECK_MODULES(GEN4ASM, [intel-gen4asm >= 1.0], [gen4asm=yes], [gen4asm=no])
AM_CONDITIONAL(HAVE_GEN4ASM, test x$gen4asm = xyes)
# We only need the headers, we don't link against the DRM libraries