diff options
author | truebrain <truebrain@openttd.org> | 2008-10-19 21:32:29 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2008-10-19 21:32:29 +0000 |
commit | 122ce41f7887831ee4613bd36690544ecb736358 (patch) | |
tree | 817357f8395ab1aa952bb077a945b9fe0929bb67 | |
parent | 29ea45fc028db3b5a18036d65a26639486f2c1d5 (diff) | |
download | openttd-122ce41f7887831ee4613bd36690544ecb736358.tar.xz |
(svn r14497) -Fix: if freetype was not detected or disabled, skip fontconfig detection, unless explicit requested (on request by Rubidium)
-rw-r--r-- | config.lib | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.lib b/config.lib index dbeaf0587..42ef61e68 100644 --- a/config.lib +++ b/config.lib @@ -2077,6 +2077,12 @@ detect_fontconfig() { 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" |