[configure] Fix check for FreeType

This commit is contained in:
Behdad Esfahbod 2009-11-03 14:09:32 -05:00
parent cb0e99a5a7
commit eb4ebda2d1

View File

@ -27,7 +27,7 @@ if $have_glib; then
fi fi
AM_CONDITIONAL(HAVE_GLIB, $have_glib) AM_CONDITIONAL(HAVE_GLIB, $have_glib)
PKG_CHECK_MODULES(FREETYPE, freetype, have_freetype=true, have_freetype=false) PKG_CHECK_MODULES(FREETYPE, freetype2, have_freetype=true, have_freetype=false)
if $have_freetype; then if $have_freetype; then
AC_DEFINE(HAVE_FREETYPE, 1, [Have FreeType 2 library]) AC_DEFINE(HAVE_FREETYPE, 1, [Have FreeType 2 library])
fi fi