[MPlayer-cvslog] r38021 - trunk/configure

al subversion at mplayerhq.hu
Tue Mar 20 02:56:40 EET 2018


Author: al
Date: Tue Mar 20 02:56:39 2018
New Revision: 38021

Log:
configure: Use pkg-config if freetype-config is unavailable

Currently we only try to use freetype-config, but freetype-config
is deprecated by upstream. Starting soon freetype-config will
not be installed by typical freetype builds anymore.

Use pkg-config if freetype-config is not available. This
is identical to how we treat dvdnav-config and dvdread-config.

Fixes ticket #2340

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Feb 24 17:23:29 2018	(r38020)
+++ trunk/configure	Tue Mar 20 02:56:39 2018	(r38021)
@@ -839,7 +839,8 @@ quicktime=auto
 _macosx_finder=no
 _macosx_bundle=auto
 _sortsub=yes
-_freetypeconfig='freetype-config'
+_freetypeconfig='pkg-config freetype2'
+type freetype-config >/dev/null 2>&1 && _freetypeconfig=freetype-config
 _fribidi=auto
 _enca=auto
 _inet6=auto


More information about the MPlayer-cvslog mailing list