[clutter] build: Depend on pangoft2 on X11
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] build: Depend on pangoft2 on X11
- Date: Thu, 18 Aug 2011 15:25:03 +0000 (UTC)
commit e906d2cbde5c1db4238660002f858111de8548c3
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Thu Aug 18 15:32:29 2011 +0100
build: Depend on pangoft2 on X11
We need the fontconfig API to reinitialize the fontmap caches whenever
the system tells us that the user fonts have changed.
configure.ac | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e0bae74..94f8ff8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -386,10 +386,21 @@ AS_CASE([$CLUTTER_FLAVOUR],
CLUTTER_SONAME_INFIX=win32
],
- [AC_MSG_ERROR([Invalid backend for Clutter: use glx, osx,
- win32, eglx or eglnative])]
+ [AC_MSG_ERROR([Invalid backend for Clutter])]
)
+AS_IF([test "x$SUPPORT_X11" = "x1"],
+ [
+ # we use fontconfig API and pango-fc when the fontconfig
+ # configuration changes
+ PKG_CHECK_EXISTS([pangoft2],
+ [
+ AC_DEFINE([HAVE_PANGO_FT2], [1], [Supports PangoFt2])
+ BACKEND_PC_FILES="$BACKEND_PC_FILES pangoft2"
+ ],
+ [])
+ ])
+
AS_IF([test "x$SUPPORT_GLX" = "x1"],
[
AC_DEFINE([HAVE_CLUTTER_GLX], [1], [Have the GLX backend])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]