diff configure @ 30528:74df50657677

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.
author reimar
date Sun, 14 Feb 2010 11:57:37 +0000
parents 59750cd96b29
children e69ef665b0fc
line wrap: on
line diff
--- a/configure	Sun Feb 14 11:19:52 2010 +0000
+++ b/configure	Sun Feb 14 11:57:37 2010 +0000
@@ -6392,6 +6392,9 @@
 #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) {