[2/2] configure: Update freetype check to follow upstream

Message ID 1388925784-5440-2-git-send-email-lu_zero@gentoo.org
State Old
Headers show

Commit Message

Luca Barbato Jan. 5, 2014, 12:43 p.m.
The freetype tutorial suggests to use #include FT_FREETYPE_H.
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/configure b/configure
index d44dab2..7c3a9f8 100755
--- a/configure
+++ b/configure
@@ -3910,7 +3910,7 @@  enabled frei0r            && { check_header frei0r.h || die "ERROR: frei0r.h hea
 enabled gnutls            && require_pkg_config gnutls gnutls/gnutls.h gnutls_global_init
 enabled libfaac           && require2 libfaac "stdint.h faac.h" faacEncGetVersion -lfaac
 enabled libfdk_aac        && require libfdk_aac fdk-aac/aacenc_lib.h aacEncOpen -lfdk-aac
-enabled libfreetype       && require_pkg_config freetype2 "ft2build.h freetype/freetype.h" FT_Init_FreeType
+enabled libfreetype       && require_pkg_config freetype2 "ft2build.h FT_FREETYPE_H" FT_Init_FreeType
 enabled libgsm            && { for gsm_hdr in "gsm.h" "gsm/gsm.h"; do
                                    check_lib "${gsm_hdr}" gsm_create -lgsm && break;
                                done || die "ERROR: libgsm not found"; }