mirror of
https://github.com/mpv-player/mpv
synced 2025-02-23 16:36:56 +00:00
make configure use pkg-config for fribidi checks
fribidi upstream has dropped fribidi-config in favor of pkg-config now: http://lists.freedesktop.org/archives/fribidi/2008-May/000532.html This commit fixes: http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1675 https://launchpad.net/bugs/556200 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582784 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31209 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
25cb4330c9
commit
30748b8a55
15
configure
vendored
15
configure
vendored
@ -488,7 +488,6 @@ Use these options if autodetection fails:
|
||||
--with-xvmclib=NAME adapter-specific library name (e.g. XvMCNVIDIA)
|
||||
|
||||
--with-freetype-config=PATH path to freetype-config
|
||||
--with-fribidi-config=PATH path to fribidi-config
|
||||
--with-glib-config=PATH path to glib*-config
|
||||
--with-gtk-config=PATH path to gtk*-config
|
||||
--with-sdl-config=PATH path to sdl*-config
|
||||
@ -740,7 +739,6 @@ _macosx_bundle=auto
|
||||
_sortsub=yes
|
||||
_freetypeconfig='freetype-config'
|
||||
_fribidi=auto
|
||||
_fribidiconfig='fribidi-config'
|
||||
_enca=auto
|
||||
_inet6=auto
|
||||
_gethostbyname2=auto
|
||||
@ -800,9 +798,6 @@ for ac_option do
|
||||
--with-freetype-config=*)
|
||||
_freetypeconfig=$(echo $ac_option | cut -d '=' -f 2)
|
||||
;;
|
||||
--with-fribidi-config=*)
|
||||
_fribidiconfig=$(echo $ac_option | cut -d '=' -f 2)
|
||||
;;
|
||||
--with-gtk-config=*)
|
||||
_gtkconfig=$(echo $ac_option | cut -d '=' -f 2)
|
||||
;;
|
||||
@ -6458,15 +6453,9 @@ int main(void) {
|
||||
}
|
||||
EOF
|
||||
_fribidi=no
|
||||
_inc_tmp=""
|
||||
_ld_tmp="-lfribidi"
|
||||
_inc_tmp="$($_pkg_config --cflags fribidi)"
|
||||
_ld_tmp="$($_pkg_config --libs fribidi)"
|
||||
cc_check $_inc_tmp $_ld_tmp && _fribidi=yes
|
||||
if $_fribidiconfig --version > /dev/null 2>&1 &&
|
||||
test "$_fribidi" = no ; then
|
||||
_inc_tmp="$($_fribidiconfig --cflags)"
|
||||
_ld_tmp="$($_fribidiconfig --libs)"
|
||||
cc_check $_inc_tmp $_ld_tmp && _fribidi=yes
|
||||
fi
|
||||
fi
|
||||
if test "$_fribidi" = yes ; then
|
||||
def_fribidi='#define CONFIG_FRIBIDI 1'
|
||||
|
Loading…
Reference in New Issue
Block a user