summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2009-07-23 10:57:22 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2009-07-24 10:47:28 +0800
commit7684adaa370e8b0bd22e6e7dd1d5fa05f6142bab (patch)
tree8bc5ff09a7773d134d9a77bb21e9f67007f354f0 /configure.ac
parent7dc95b4f1dfecbeb7e9f4a0c35fda32d020be8fe (diff)
Check the version of intel-gen4asm tool in configure.ac
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 1 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index 6aba5500..d5c12a8d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,16 +46,7 @@ DOLT
AC_PROG_CC
AM_PROG_CC_C_O
-AC_CHECK_PROG(gen4asm, [intel-gen4asm], yes, no)
-
-if test x$gen4asm != xno; then
- intel-gen4asm -g 5 src/render_program/exa_sf.g4a > /dev/null
-
- if test "$?" != "0"; then
- echo "Error: Require new intel-gen4asm with -g option!"
- exit 1
- fi
-fi
+PKG_CHECK_MODULES(GEN4ASM, [intel-gen4asm >= 1.0], [gen4asm=yes], [gen4asm=no])
AM_CONDITIONAL(HAVE_GEN4ASM, test x$gen4asm = xyes)
AC_CHECK_HEADERS(sys/mman.h)