From db1edf0e10c6d3665d3bb2ffd381b1ba722cad95 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 2 Oct 2013 16:17:35 +0100 Subject: [PATCH] configure: Error out if glamor request but UXA is disabled Signed-off-by: Chris Wilson --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 5484c86c..523a39e0 100644 --- a/configure.ac +++ b/configure.ac @@ -304,6 +304,9 @@ AC_ARG_ENABLE(glamor, [GLAMOR="$enableval"], [GLAMOR="no"]) if test "x$GLAMOR" != "xno"; then + if test "x$UXA" != "xyes"; then + AC_MSG_ERROR([Glamor acceleration requested but UXA is not enabled]) + fi PKG_CHECK_MODULES(LIBGLAMOR, [glamor >= 0.3.1]) PKG_CHECK_MODULES(LIBGLAMOR_EGL, [glamor-egl]) AC_DEFINE(USE_GLAMOR, 1, [Enable glamor acceleration])