diff --git a/configure b/configure index 6ff675993a..ab3a347746 100755 --- a/configure +++ b/configure @@ -6392,6 +6392,9 @@ if test "$_fontconfig" = auto ; then #include #include #include +#if FC_VERSION < 20402 +#error At least version 2.4.2 of fontconfig required +#endif int main(void) { int err = FcInit(); if (err == FcFalse) {