[igt-dev] [PATCH i-g-t 1/1] configure.ac: Properly bump libdrm_amdgpu version requirement
Petri Latvala
petri.latvala at intel.com
Fri Mar 9 12:21:31 UTC 2018
To actually make the build not use libdrm_amdgpu, the existence check
already needs to verify the version, as is done for other uses of
PKG_CHECK_EXISTS.
Signed-off-by: Petri Latvala <petri.latvala at intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index aac0b6af..715eb12c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -263,7 +263,7 @@ AC_ARG_ENABLE(amdgpu, AS_HELP_STRING([--disable-amdgpu],
[Enable building of amdgpu tests (default: auto)]),
[AMDGPU=$enableval], [AMDGPU=auto])
if test "x$AMDGPU" = xauto; then
- PKG_CHECK_EXISTS([libdrm_amdgpu], [AMDGPU=yes], [AMDGPU=no])
+ PKG_CHECK_EXISTS([libdrm_amdgpu >= 2.4.81], [AMDGPU=yes], [AMDGPU=no])
fi
if test "x$AMDGPU" = xyes; then
PKG_CHECK_MODULES(DRM_AMDGPU, [libdrm_amdgpu >= 2.4.81])
--
2.14.1
More information about the igt-dev
mailing list