Separate _freetype=no from the comment, this fixes the fontconfig bug without need of forcing "no"

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16452 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
iive 2005-09-11 10:57:28 +00:00
parent d33c27aa64
commit a047ffb2ca
1 changed files with 7 additions and 6 deletions

13
configure vendored
View File

@ -5080,7 +5080,8 @@ echocheck "freetype >= 2.0.9"
# freetype depends on iconv
if test "$_iconv" = no ; then
_freetype="no (iconv support needed)"
_freetype=no
rez_comment="(iconv support needed)"
fi
if test "$_freetype" = auto ; then
@ -5125,13 +5126,12 @@ if test "$_freetype" = yes ; then
else
_def_freetype='#undef HAVE_FREETYPE'
fi
echores "$_freetype"
if test "$_freetype" != yes ; then
_freetype=no
fi
echores "$_freetype $rez_comment"
rez_comment=""
if test "$_freetype" = no ; then
_fontconfig=no
rez_comment="(freetype support needed)"
fi
echocheck "fontconfig"
if test "$_fontconfig" = auto ; then
@ -5163,7 +5163,8 @@ if test "$_fontconfig" = yes ; then
else
_def_fontconfig='#undef HAVE_FONTCONFIG'
fi
echores "$_fontconfig"
echores "$_fontconfig $rez_comment"
rez_comment=""
echocheck "fribidi with charsets"
if test "$_fribidi" = yes ; then