1
mirror of https://github.com/mpv-player/mpv synced 2025-01-09 01:36:25 +01:00

Check that fontconfig version is at least 2.4.2, which is required for the

included libass.
A more fine-grained check would be possible to e.g. allow older versions
if internal libass is disabled, but seems like overkill.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30570 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-02-14 11:57:37 +00:00
parent 318156ae6b
commit 2347661b0e

3
configure vendored
View File

@ -6392,6 +6392,9 @@ if test "$_fontconfig" = auto ; then
#include <stdio.h>
#include <stdlib.h>
#include <fontconfig/fontconfig.h>
#if FC_VERSION < 20402
#error At least version 2.4.2 of fontconfig required
#endif
int main(void) {
int err = FcInit();
if (err == FcFalse) {