diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2012-08-02 13:47:33 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2012-08-02 13:57:52 +0800 |
commit | d7477ea8af6d3b2e8230279fb08ae92305cad4b4 (patch) | |
tree | 16aa97d7637bb1a3decf2b22909e1700a4c28342 /configure.ac | |
parent | 6c408cf08906992b602d7f8a0d9a3c53a71c99df (diff) | |
download | libva-intel-driver-d7477ea8af6d3b2e8230279fb08ae92305cad4b4.tar.gz libva-intel-driver-d7477ea8af6d3b2e8230279fb08ae92305cad4b4.tar.bz2 libva-intel-driver-d7477ea8af6d3b2e8230279fb08ae92305cad4b4.zip |
The version of VA-API is at least 0.32.1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index da1f84c..8170e20 100644 --- a/configure.ac +++ b/configure.ac @@ -10,7 +10,8 @@ m4_append([intel_driver_version], intel_driver_pre_version, [.pre]) ]) # libva minimum version requirement -m4_define([libva_package_version], [1.0.14]) +m4_define([libva_package_version], [1.0.16]) +m4_define([vaapi_version], [0.32.1]) # libdrm minimum version requirement m4_define([libdrm_version], [2.4.23]) @@ -63,8 +64,10 @@ AM_CONDITIONAL(HAVE_GEN4ASM, test x$gen4asm = xyes) AC_PATH_PROG([GEN4ASM], [intel-gen4asm]) dnl Check for VA-API -PKG_CHECK_MODULES(LIBVA_DEPS, [libva]) +VAAPI_VERSION=vaapi_version +PKG_CHECK_MODULES(LIBVA_DEPS, [libva >= $VAAPI_VERSION]) PKG_CHECK_MODULES(LIBVA_X11_DEPS, [libva-x11]) +AC_SUBST(VAAPI_VERSION) VA_VERSION=`$PKG_CONFIG --modversion libva` VA_MAJOR_VERSION=`echo "$VA_VERSION" | cut -d'.' -f1` |