Mercurial > mplayer.hg
changeset 20776:72b7811b21d3
Rename xvid4 variable/option back to xvid so as not to break scripts.
author | diego |
---|---|
date | Wed, 08 Nov 2006 18:46:03 +0000 |
parents | 05159ef5282e |
children | ee79769c9e30 |
files | configure |
diffstat | 1 files changed, 20 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Wed Nov 08 18:40:08 2006 +0000 +++ b/configure Wed Nov 08 18:46:03 2006 +0000 @@ -273,7 +273,7 @@ --disable-qtx disable QuickTime codecs support [enabled] --disable-xanim disable XAnim codecs support [enabled] --disable-real disable RealPlayer codecs support [enabled] - --disable-xvid4 disable XviD 4 [autodetect] + --disable-xvid disable XviD [autodetect] --disable-xvid3 disable XviD 3 [autodetect] --disable-x264 disable x264 [autodetect] --disable-nut disable libnut [autodetect] @@ -1658,7 +1658,7 @@ _vidix_external=auto _joystick=no _xvid3=auto -_xvid4=auto +_xvid=auto _x264=auto _nut=auto _lirc=auto @@ -1920,8 +1920,8 @@ --disable-joystick) _joystick=no ;; --enable-xvid3) _xvid3=yes ;; --disable-xvid3) _xvid3=no ;; - --enable-xvid4) _xvid4=yes ;; - --disable-xvid4) _xvid4=no ;; + --enable-xvid) _xvid=yes ;; + --disable-xvid) _xvid=no ;; --enable-x264) _x264=yes ;; --disable-x264) _x264=no ;; --enable-nut) _nut=yes ;; @@ -6406,29 +6406,29 @@ echores "$_xvid3" -echocheck "XviD 4" -if test "$_xvid4" = auto ; then - _xvid4=no +echocheck "XviD" +if test "$_xvid" = auto ; then + _xvid=no _ld_xvid="$_ld_xvid -lxvidcore $_ld_lm" cat > $TMPC << EOF #include <xvid.h> int main(void) { xvid_global(0, 0, 0, 0); return 0; } EOF for _ld_tmp in "$_ld_xvid" "$_ld_xvid $_ld_pthread" ; do - cc_check $_ld_tmp && _ld_xvid="$_ld_tmp" && _xvid4=yes && break + cc_check $_ld_tmp && _ld_xvid="$_ld_tmp" && _xvid=yes && break done fi -if test "$_xvid4" = yes ; then - _def_xvid4='#define HAVE_XVID4 1' - _codecmodules="xvid4 $_codecmodules" -else - _def_xvid4='#undef HAVE_XVID4' - _nocodecmodules="xvid4 $_nocodecmodules" -fi -echores "$_xvid4" - -if test "$_xvid4" = yes ; then +if test "$_xvid" = yes ; then + _def_xvid='#define HAVE_XVID4 1' + _codecmodules="xvid $_codecmodules" +else + _def_xvid='#undef HAVE_XVID4' + _nocodecmodules="xvid $_nocodecmodules" +fi +echores "$_xvid" + +if test "$_xvid" = yes ; then echocheck "XviD two pass plugin" cat > $TMPC << EOF #include <xvid.h> @@ -7443,7 +7443,7 @@ ZORAN = $_zr LIBDV = $_libdv XVID3 = $_xvid3 -XVID4 = $_xvid4 +XVID4 = $_xvid X264 = $_x264 LIBNUT = $_nut CONFIG_DTS = $_libdts @@ -7612,7 +7612,7 @@ /* Define if you are using XviD library */ $_def_xvid3 -$_def_xvid4 +$_def_xvid $_def_decore_xvid $_def_encore_xvid