From 4f562a66247bfdd0168ecab68fbf67619a8a51b0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Sun, 11 Feb 2007 11:35:56 +0000 Subject: [PATCH] simplify freetype check Originally committed as revision 7919 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 58edcbd33..1840408d6 100755 --- a/configure +++ b/configure @@ -1657,13 +1657,10 @@ fi freetype2=no if test "x$targetos" != "xBeOS"; then - if (freetype-config --version) >/dev/null 2>&1 ; then + if freetype-config --version >/dev/null 2>&1; then temp_cflags `freetype-config --cflags` temp_extralibs `freetype-config --libs` - check_ld < -int main( void ) { return (int) FT_Init_FreeType(0); } -EOF + check_lib ft2build.h FT_Init_FreeType && enable freetype2 restore_flags fi fi -- 2.11.0