diff options
author | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-14 08:16:39 +0000 |
---|---|---|
committer | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-14 08:16:39 +0000 |
commit | df0f80508ece7dab3740840fc0eb0b4ecef3f77f (patch) | |
tree | 89ba6db1bf36a76879228ef6878973ec513e10aa /configure | |
parent | 5eaf53d925ebb63188e0fb79928326f9cc50ab62 (diff) | |
download | mpv-df0f80508ece7dab3740840fc0eb0b4ecef3f77f.tar.bz2 mpv-df0f80508ece7dab3740840fc0eb0b4ecef3f77f.tar.xz |
Support using unrar executable to access rar-compressed vobsub files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25389 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -256,6 +256,7 @@ Optional features: --disable-freetype disable FreeType 2 font rendering [autodetect] --disable-fontconfig disable fontconfig font lookup [autodetect] --disable-unrarlib disable Unique RAR File Library [enabled] + --disable-unrarexec disable using of UnRAR executable [enabled] --enable-menu enable OSD menu (not DVD menu) [disabled] --disable-sortsub disable subtitle sorting [enabled] --enable-fribidi enable the FriBiDi libs [autodetect] @@ -592,6 +593,7 @@ _sunaudio=auto _alsa=auto _fastmemcpy=yes _unrarlib=yes +_unrar_exec=auto _win32dll=auto _select=yes _radio=no @@ -1097,6 +1099,8 @@ for ac_option do --disable-fontconfig) _fontconfig=no ;; --enable-unrarlib) _unrarlib=yes ;; --disable-unrarlib) _unrarlib=no ;; + --enable-unrarexec) _unrar_exec=yes ;; + --disable-unrarexec) _unrar_exec=no ;; --enable-ftp) _ftp=yes ;; --disable-ftp) _ftp=no ;; --enable-vstream) _vstream=yes ;; @@ -6715,6 +6719,18 @@ else fi echores "$_unrarlib" +echocheck "UnRAR executable" +if test "$_unrar_exec" = auto ; then + _unrar_exec="yes" + mingw32 && _unrar_exec="no" +fi +if test "$_unrar_exec" = yes ; then + _def_unrar_exec='#define USE_UNRAR_EXEC 1' +else + _def_unrar_exec='#undef USE_UNRAR_EXEC' +fi +echores "$_unrar_exec" + echocheck "TV interface" if test "$_tv" = yes ; then _def_tv='#define USE_TV 1' @@ -7611,6 +7627,7 @@ SPEEX = $_speex MUSEPACK = $_musepack UNRARLIB = $_unrarlib +UNRAR_EXEC = $_unrar_exec PNG = $_png JPEG = $_jpeg GIF = $_gif @@ -8165,6 +8182,9 @@ $_def_fastmemcpy /* Use unrarlib for Vobsubs */ $_def_unrarlib +/* Use UnRAR executable for Vobsubs */ +$_def_unrar_exec + /* gui support, please do not edit this option */ $_def_gui $_def_gtk2_gui |