diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ba3cbc06..6a1c8683 100644 --- a/configure.ac +++ b/configure.ac @@ -103,6 +103,20 @@ CAIRO_ENABLE_SURFACE_BACKEND(xlib_xrender, Xlib Xrender, auto, [ fi ]) +CAIRO_ENABLE_SURFACE_BACKEND(xlib_xv, Xlib Xv, auto, [ + if test "x$use_xlib" != "xyes"; then + use_xlib_xv="no (requires --enable-xlib)" + else + xlib_xv_BASE=cairo-xlib + xlib_xv_REQUIRES="xv" + PKG_CHECK_MODULES(xlib_xv, $xlib_xv_REQUIRES, + [AC_DEFINE([CAIRO_HAS_XV], 1, [Define to 1 if xv support is available])], + [AC_MSG_RESULT(no) + use_xlib_xrender="no (requires $xlib_xrender_REQUIRES http://freedesktop.org/Software/xlibs)" + ]) + fi +]) + dnl =========================================================================== CAIRO_ENABLE_SURFACE_BACKEND(xcb, XCB, no, [ |