mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
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.
This commit is contained in:
parent
397fe1b5b6
commit
e906d2cbde
15
configure.ac
15
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])
|
||||
|
Loading…
Reference in New Issue
Block a user