[MPlayer-dev-eng] [PATCH] fribidi autodetect in configure

Oded Shimon ods15 at ods15.dyndns.org
Sun Dec 11 19:07:20 CET 2005


There's already a decent configure check for it, it's not a lot of code, 
if the library exists most likely the user wants to use it. Any reason it 
should be disabled by default instead of autodetect?

Will commit in a few days if noone objects...

- ods15
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1107
diff -u -r1.1107 configure
--- configure	1 Dec 2005 02:51:22 -0000	1.1107
+++ configure	11 Dec 2005 18:03:18 -0000
@@ -210,7 +210,7 @@
   --disable-unrarlib     Disable Unique RAR File Library [enabled]
   --enable-menu          Enable OSD menu support (NOT DVD MENU) [disabled]
   --disable-sortsub      Disable subtitles sorting [enabled]
-  --enable-fribidi       Enable using the FriBiDi libs [disabled]
+  --enable-fribidi       Enable using the FriBiDi libs [autodetect]
   --disable-enca         Disable using ENCA charset oracle library [autodetect]
   --disable-macosx       Disable Mac OS X specific features [autodetect]
   --enable-macosx-finder-support  Enable Mac OS X Finder invocation parameter parsing [disabled]
@@ -1562,7 +1562,7 @@
 _macosx_bundle=auto
 _sortsub=yes
 _freetypeconfig='freetype-config'
-_fribidi=no
+_fribidi=auto
 _fribidiconfig='fribidi-config'
 _enca=auto
 _inet6=auto
@@ -5204,7 +5204,7 @@
 echores "$_fontconfig"
 
 echocheck "fribidi with charsets"
-if test "$_fribidi" = yes ; then
+if test "$_fribidi" = auto ; then
     if ( $_fribidiconfig --version ) >/dev/null 2>&1 ; then
 	cat > $TMPC << EOF
 #include <stdio.h>


More information about the MPlayer-dev-eng mailing list