[MPlayer-cvslog] r30570 - trunk/configure

reimar subversion at mplayerhq.hu
Sun Feb 14 12:57:37 CET 2010


Author: reimar
Date: Sun Feb 14 12:57:37 2010
New Revision: 30570

Log:
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.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sun Feb 14 12:19:52 2010	(r30569)
+++ trunk/configure	Sun Feb 14 12:57:37 2010	(r30570)
@@ -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) {


More information about the MPlayer-cvslog mailing list