From d364a881effb2fd87f11648b10d126eb18fcb6be Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 10 Apr 2014 09:12:02 +0100 Subject: configure: Report which version (lib or module) of glamor is used Signed-off-by: Chris Wilson --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0fdbc3c8..fa6439e1 100644 --- a/configure.ac +++ b/configure.ac @@ -344,9 +344,12 @@ if test "x$GLAMOR" != "xno"; then if test "x$UXA" != "xyes"; then AC_MSG_ERROR([Glamor acceleration requested but UXA is not enabled]) fi - if ! pkg-config --exists "xorg-server >= 1.15.99.901"; then + if pkg-config --exists "xorg-server >= 1.15.99.901"; then + GLAMOR="yes (using Xorg glamor module)" + else PKG_CHECK_MODULES(LIBGLAMOR, [glamor >= 0.6.0]) PKG_CHECK_MODULES(LIBGLAMOR_EGL, [glamor-egl]) + GLAMOR="yes (using libglamor)" fi AC_DEFINE(USE_GLAMOR, 1, [Enable glamor acceleration]) fi -- cgit v1.2.3