configure: Error out if glamor request but UXA is disabled
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
a048f436a0
commit
db1edf0e10
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Reference in New Issue