mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
configure.ac: require dri2proto for overlay
With the introduction of commit f9a50de3dcc501e930de6c60983a4feb57121e7e Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sat Aug 17 11:12:07 2013 +0100 Introduce intel-gpu-overlay dri2proto became a dependency (and there is no way to disable overlay explicitly. The actual version chosen was arbitrarily stolen from mesa. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
parent
ae599546fa
commit
bc888c2b42
@ -80,9 +80,11 @@ AM_CONDITIONAL(BUILD_OVERLAY_XLIB, [test "x$enable_overlay_xlib" = xyes])
|
||||
AM_CONDITIONAL(BUILD_OVERLAY, [test "x$enable_overlay_xlib" = xyes -o "x$enable_overlay_xvlib"])
|
||||
if test x$enable_overlay_xvlib = xyes; then
|
||||
AC_DEFINE(HAVE_OVERLAY_XVLIB, 1, [Enable XV backend])
|
||||
PKG_CHECK_MODULES(DRI2PROTO, [dri2proto >= 2.6])
|
||||
fi
|
||||
if test x$enable_overlay_xlib = xyes; then
|
||||
AC_DEFINE(HAVE_OVERLAY_XLIB, 1, [Enable X backend])
|
||||
PKG_CHECK_MODULES(DRI2PROTO, [dri2proto >= 2.6])
|
||||
fi
|
||||
PKG_CHECK_MODULES(XRANDR, xrandr >= 1.3, AC_DEFINE(HAVE_XRANDR, 1, [Have libXrandr]), [have_xrandr=no])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user