Index: configure =================================================================== --- configure (revision 20520) +++ configure (working copy) @@ -5423,6 +5423,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`