comparison configure @ 20516:3c8e99146862

Also detect static fontconfig when pkg-config is not installed (-lexpat -lfreetype is needed in this case). Tested on MinGW.
author reimar
date Mon, 30 Oct 2006 18:48:31 +0000
parents 27bae76a6d48
children 54162022411e
comparison
equal deleted inserted replaced
20515:870ec7f3aeb4 20516:3c8e99146862
5424 } 5424 }
5425 EOF 5425 EOF
5426 _fontconfig=yes 5426 _fontconfig=yes
5427 if cc_check -lfontconfig ; then 5427 if cc_check -lfontconfig ; then
5428 _ld_fontconfig="-lfontconfig" 5428 _ld_fontconfig="-lfontconfig"
5429 elif cc_check -lfontconfig -lexpat -lfreetype ; then
5430 _ld_fontconfig="-lfontconfig -lexpat -lfreetype"
5429 elif cc_check `pkg-config --silence-errors --cflags --libs fontconfig` ; then 5431 elif cc_check `pkg-config --silence-errors --cflags --libs fontconfig` ; then
5430 _inc_extra="$_inc_extra `pkg-config --cflags fontconfig`" 5432 _inc_extra="$_inc_extra `pkg-config --cflags fontconfig`"
5431 _ld_fontconfig=`pkg-config --libs fontconfig` 5433 _ld_fontconfig=`pkg-config --libs fontconfig`
5432 else 5434 else
5433 _fontconfig=no 5435 _fontconfig=no