Fix FreeType version check

This commit is contained in:
Behdad Esfahbod 2014-12-28 17:04:23 -08:00
parent affacf2f37
commit 1226b2e930
1 changed files with 2 additions and 1 deletions

View File

@ -297,7 +297,8 @@ AC_ARG_WITH(freetype,
[with_freetype=auto])
have_freetype=false
if test "x$with_freetype" = "xyes" -o "x$with_freetype" = "xauto"; then
PKG_CHECK_MODULES(FREETYPE, freetype2 >= 2.3.8, have_freetype=true, :)
# See freetype/docs/VERSION.DLL; 9.19.13 means freetype-2.3.8
PKG_CHECK_MODULES(FREETYPE, freetype2 >= 9.19.3, have_freetype=true, :)
fi
if test "x$with_freetype" = "xyes" -a "x$have_freetype" != "xtrue"; then
AC_MSG_ERROR([FreeType support requested but libfreetype2 not found])