Fix fribidi check to avoid spamming the console with error messages.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30199 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-01-04 12:12:57 +00:00
parent 36e760f9d9
commit 0e3224805a
1 changed files with 2 additions and 1 deletions

3
configure vendored
View File

@ -6271,7 +6271,8 @@ EOF
_inc_tmp=""
_ld_tmp="-lfribidi"
cc_check $_inc_tmp $_ld_tmp && _fribidi=yes
if test "$_fribidi" = no ; then
if $_fribidiconfig --version > /dev/null 2>&1 &&
test "$_fribidi" = no ; then
_inc_tmp="$($_fribidiconfig --cflags)"
_ld_tmp="$($_fribidiconfig --libs)"
cc_check $_inc_tmp $_ld_tmp && _fribidi=yes