configure: Update freetype check to follow upstream
authorLuca Barbato <lu_zero@gentoo.org>
Sat, 21 Dec 2013 16:59:59 +0000 (17:59 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 6 Jan 2014 10:44:10 +0000 (11:44 +0100)
The freetype tutorial suggests to use #include FT_FREETYPE_H.

Bug-Id: 616

configure

index d44dab2..7c3a9f8 100755 (executable)
--- 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"; }