Module: wine Branch: refs/heads/master Commit: 8f6aa41a78e13c747b5f2930f736e7f32f82f649 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=8f6aa41a78e13c747b5f2930...
Author: Mike McCormack mike@codeweavers.com Date: Tue Apr 4 13:36:51 2006 +0900
configure: Warn if the fonts aren't going to be built.
---
configure | 10 ++++++++++ configure.ac | 10 ++++++++++ 2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/configure b/configure index 3c49fb4..9bffafd 100755 --- a/configure +++ b/configure @@ -10304,6 +10304,9 @@ if test "$FONTFORGE" != "false" -a -n "$ then FONTSSUBDIRS="fonts"
+ wine_cv_msg_fonts=no +else + wine_cv_msg_fonts=yes fi
echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5 @@ -20859,6 +20862,13 @@ then echo "*** enable Wine to use TrueType fonts." fi
+if test "$wine_cv_msg_fonts" = "yes" +then + echo + echo "*** Warning: Freetype or Fontforge is missing." + echo "*** Fonts will not be built. Dialog text may be invisible or unaligned." +fi + if test -z "$ALSALIBS" -a \ -z "$ARTSC_LIBS" -a \ -z "$AUDIOIOLIBS" -a \ diff --git a/configure.ac b/configure.ac index fd23c66..afcc222 100644 --- a/configure.ac +++ b/configure.ac @@ -628,6 +628,9 @@ dnl Only build the fonts dir if we have if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS" then AC_SUBST(FONTSSUBDIRS,"fonts") + wine_cv_msg_fonts=no +else + wine_cv_msg_fonts=yes fi
dnl **** Check for parport (currently Linux only) **** @@ -1754,6 +1757,13 @@ then echo "*** enable Wine to use TrueType fonts." fi
+if test "$wine_cv_msg_fonts" = "yes" +then + echo + echo "*** Warning: Freetype or Fontforge is missing." + echo "*** Fonts will not be built. Dialog text may be invisible or unaligned." +fi + if test -z "$ALSALIBS" -a \ -z "$ARTSC_LIBS" -a \ -z "$AUDIOIOLIBS" -a \