diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-30 18:48:31 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-30 18:48:31 +0000 |
commit | 362cdc22858bd5c06544a62b712a794830a87fc3 (patch) | |
tree | f2251f17c101a3370c0c188504b38b3c64cb4708 /configure | |
parent | 890334997ee5f5a2c9b91d60800cd35d01d9a4d7 (diff) |
Also detect static fontconfig when pkg-config is not installed
(-lexpat -lfreetype is needed in this case). Tested on MinGW.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20532 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5426,6 +5426,8 @@ EOF _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` |