# HG changeset patch # User reimar # Date 1162234111 0 # Node ID 3c8e991468628c319595de6edd0c4dd1483fb88a # Parent 870ec7f3aeb4ec8c33596d37b2b3dde148ec33c6 Also detect static fontconfig when pkg-config is not installed (-lexpat -lfreetype is needed in this case). Tested on MinGW. diff -r 870ec7f3aeb4 -r 3c8e99146862 configure --- a/configure Mon Oct 30 16:59:40 2006 +0000 +++ b/configure Mon Oct 30 18:48:31 2006 +0000 @@ -5426,6 +5426,8 @@ _fontconfig=yes if cc_check -lfontconfig ; then _ld_fontconfig="-lfontconfig" + elif cc_check -lfontconfig -lexpat -lfreetype ; then + _ld_fontconfig="-lfontconfig -lexpat -lfreetype" elif cc_check `pkg-config --silence-errors --cflags --libs fontconfig` ; then _inc_extra="$_inc_extra `pkg-config --cflags fontconfig`" _ld_fontconfig=`pkg-config --libs fontconfig`