Mercurial > mplayer.hg
changeset 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 | 870ec7f3aeb4 |
children | f33b04a66fc0 |
files | configure |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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`