Mercurial > mplayer.hg
comparison configure @ 11535:f95e43b7d51d
FreeType detection, patch send by Pierre Lombard <p_l@gmx.fr>
author | iive |
---|---|
date | Sat, 29 Nov 2003 03:02:38 +0000 |
parents | bd6a8638f70a |
children | a6e12f49eaef |
comparison
equal
deleted
inserted
replaced
11534:bd6a8638f70a | 11535:f95e43b7d51d |
---|---|
4205 echocheck "freetype >= 2.0.9" | 4205 echocheck "freetype >= 2.0.9" |
4206 if test "$_freetype" = auto ; then | 4206 if test "$_freetype" = auto ; then |
4207 if ( $_freetypeconfig --version ) >/dev/null 2>&1 ; then | 4207 if ( $_freetypeconfig --version ) >/dev/null 2>&1 ; then |
4208 cat > $TMPC << EOF | 4208 cat > $TMPC << EOF |
4209 #include <stdio.h> | 4209 #include <stdio.h> |
4210 #include <freetype/freetype.h> | 4210 #include <ft2build.h> |
4211 #include FT_FREETYPE_H | |
4211 #if ((FREETYPE_MAJOR < 2) || ((FREETYPE_MINOR == 0) && (FREETYPE_PATCH < 9))) | 4212 #if ((FREETYPE_MAJOR < 2) || ((FREETYPE_MINOR == 0) && (FREETYPE_PATCH < 9))) |
4212 #error "Need FreeType 2.0.9 or newer" | 4213 #error "Need FreeType 2.0.9 or newer" |
4213 #endif | 4214 #endif |
4214 int main() | 4215 int main() |
4215 { | 4216 { |