Bug 623797 (2/2) - Check to ensure system cairo has tee backend support. r=jmuizelaar a=joe
authorJory A. Pratt <anarchy@gentoo.org>
Mon, 07 Feb 2011 19:53:20 +0100
changeset 62101 366d47bce1287a11d28b56281d79d351fb8d2260
parent 62100 a92182a3c71fe8f1db54c0c6c0c8aeef8f2dfe5f
child 62102 00f207cb2898ca9bc53835d110771a8d7780c488
push id1
push userroot
push dateTue, 10 Dec 2013 15:46:25 +0000
reviewersjmuizelaar, joe
bugs623797
milestone2.0b12pre
Bug 623797 (2/2) - Check to ensure system cairo has tee backend support. r=jmuizelaar a=joe
configure.in
--- a/configure.in
+++ b/configure.in
@@ -8749,16 +8749,17 @@ if test "$MOZ_TREE_CAIRO"; then
 
     CAIRO_FEATURES_H=gfx/cairo/cairo/src/cairo-features.h
     mv -f $CAIRO_FEATURES_H "$CAIRO_FEATURES_H".orig 2> /dev/null
 
 else
    PKG_CHECK_MODULES(CAIRO, cairo >= $CAIRO_VERSION pixman-1 freetype2 fontconfig)
    MOZ_CAIRO_CFLAGS=$CAIRO_CFLAGS
    MOZ_CAIRO_LIBS=$CAIRO_LIBS
+   PKG_CHECK_MODULES(CAIRO_TEE, cairo-tee >= $CAIRO_VERSION)
    if test "$MOZ_X11"; then
         PKG_CHECK_MODULES(CAIRO_XRENDER, cairo-xlib-xrender >= $CAIRO_VERSION)
         MOZ_CAIRO_LIBS="$MOZ_CAIRO_LIBS $XLDFLAGS $CAIRO_XRENDER_LIBS"
         MOZ_CAIRO_CFLAGS="$MOZ_CAIRO_CFLAGS $CAIRO_XRENDER_CFLAGS"
    fi
 fi
 
 AC_SUBST(MOZ_TREE_CAIRO)