aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-30 18:48:31 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-30 18:48:31 +0000
commit362cdc22858bd5c06544a62b712a794830a87fc3 (patch)
treef2251f17c101a3370c0c188504b38b3c64cb4708 /configure
parent890334997ee5f5a2c9b91d60800cd35d01d9a4d7 (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-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index befab9e155..3ed828689a 100755
--- a/configure
+++ b/configure
@@ -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`