(svn r14497) -Fix: if freetype was not detected or disabled, skip fontconfig detection, unless explicit requested (on request by Rubidium)
--- a/config.lib Sun Oct 19 21:29:12 2008 +0000
+++ b/config.lib Sun Oct 19 21:32:29 2008 +0000
@@ -2077,6 +2077,12 @@
fontconfig_config=""
return 0
fi
+ if [ "$with_fontconfig" != "2" ] && [ -z "$freetype_config" ]; then
+ log 1 "checking libfontconfig... no freetype, skipping"
+
+ fontconfig_config=""
+ return 0
+ fi
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "WINCE" ]; then
log 1 "checking libfontconfig... WIN32, skipping"