diff --git a/configure b/configure
index fe99f62d94b8fc197b222212d19323160512b813..b2cd31ea0e901f65b97df36735374241ccf0371d 100755
--- a/configure
+++ b/configure
@@ -12237,9 +12237,6 @@ if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
 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
@@ -22836,10 +22833,15 @@ then
   exitcode=1
 fi
 
-if test "$wine_cv_msg_fonts" = "yes"
+if test -z "$FONTSSUBDIRS"
 then
   echo
-  echo "*** Warning: FreeType or FontForge is missing."
+  if test "$FONTFORGE" = "false"
+  then
+    echo "*** Warning: FontForge is missing."
+  else
+    echo "*** Warning: FreeType is missing."
+  fi
   echo "*** Fonts will not be built. Dialog text may be invisible or unaligned."
   exitcode=1
 fi
diff --git a/configure.ac b/configure.ac
index ba6b1b3cc851f490872db1b4213976768b680df7..81c79b2b04ae651bb6ae8b3a0c7b1b96d841f9a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -719,9 +719,6 @@ dnl Only build the fonts dir if we have both freetype and fontforge
 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) ****
@@ -1854,10 +1851,15 @@ then
   exitcode=1
 fi
 
-if test "$wine_cv_msg_fonts" = "yes"
+if test -z "$FONTSSUBDIRS"
 then
   echo
-  echo "*** Warning: FreeType or FontForge is missing."
+  if test "$FONTFORGE" = "false"
+  then
+    echo "*** Warning: FontForge is missing."
+  else
+    echo "*** Warning: FreeType is missing."
+  fi
   echo "*** Fonts will not be built. Dialog text may be invisible or unaligned."
   exitcode=1
 fi