changeset 16451:9f8ddae26f17

Separate _freetype=no from the comment, this fixes the fontconfig bug without need of forcing "no"
author iive
date Sun, 11 Sep 2005 10:57:28 +0000
parents 40222952440f
children f5cc3e7e7d10
files configure
diffstat 1 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Sep 11 10:52:24 2005 +0000
+++ b/configure	Sun Sep 11 10:57:28 2005 +0000
@@ -5080,7 +5080,8 @@
 
 # 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 @@
 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 @@
 else
     _def_fontconfig='#undef HAVE_FONTCONFIG'
 fi
-echores "$_fontconfig"
+echores "$_fontconfig $rez_comment"
+rez_comment=""
 
 echocheck "fribidi with charsets"
 if test "$_fribidi" = yes ; then