blob: 85c8447f0e5bef0c579708653d20c82ee6e4c6df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
https://bugzilla.mozilla.org/show_bug.cgi?id=623797
# HG changeset patch
# User Jory A. Pratt (anarchy@gentoo.org)
# Parent b27366868c807e07a11741a7a2eb404ebc08e5e7
Check to ensure system cairo has tee backend support, part 2 bug #623797
diff --git a/configure.in b/configure.in
--- a/configure.in
+++ b/configure.in
@@ -8714,16 +8714,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)
|