summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-04-10 09:12:02 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-04-10 09:14:59 +0100
commitd364a881effb2fd87f11648b10d126eb18fcb6be (patch)
tree3fbd310b3896a126bc7e696537e5f6cd10ae7223
parentb771b41f0a945fc580d532524cc744b01dd36d5f (diff)
configure: Report which version (lib or module) of glamor is used
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
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