Commit 76314e70 authored by mru's avatar mru

simplify freetype check


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7919 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ff5885e0
...@@ -1657,13 +1657,10 @@ fi ...@@ -1657,13 +1657,10 @@ fi
freetype2=no freetype2=no
if test "x$targetos" != "xBeOS"; then 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_cflags `freetype-config --cflags`
temp_extralibs `freetype-config --libs` temp_extralibs `freetype-config --libs`
check_ld <<EOF && freetype2=yes check_lib ft2build.h FT_Init_FreeType && enable freetype2
#include <ft2build.h>
int main( void ) { return (int) FT_Init_FreeType(0); }
EOF
restore_flags restore_flags
fi fi
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment