mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-25 13:10:44 +02:00
[configure] Check for FcInit()
This commit is contained in:
parent
f7a562a590
commit
750c1b5b48
2 changed files with 3 additions and 1 deletions
|
|
@ -322,7 +322,7 @@ if test "x$use_ft" = "xyes"; then
|
|||
fi
|
||||
|
||||
if test "x$use_fc" = "xyes"; then
|
||||
CAIRO_CHECK_FUNCS_WITH_FLAGS(FcFini, [$FONTCONFIG_CFLAGS], [$FONTCONFIG_LIBS])
|
||||
CAIRO_CHECK_FUNCS_WITH_FLAGS(FcInit FcFini, [$FONTCONFIG_CFLAGS], [$FONTCONFIG_LIBS])
|
||||
fi
|
||||
|
||||
dnl ===========================================================================
|
||||
|
|
|
|||
|
|
@ -747,7 +747,9 @@ REPEAT:
|
|||
/* Pre-initialise fontconfig so that the configuration is loaded without
|
||||
* malloc failures (our primary goal is to test cairo fault tolerance).
|
||||
*/
|
||||
#if HAVE_FCINIT
|
||||
FcInit ();
|
||||
#endif
|
||||
|
||||
MEMFAULT_ENABLE_FAULTS ();
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue