Mercurial > mplayer.hg
diff configure @ 4089:e1c6178de089
Configurable VIDIX usage
author | nick |
---|---|
date | Fri, 11 Jan 2002 17:20:43 +0000 |
parents | 73e945634181 |
children | 492df9b2b1cf |
line wrap: on
line diff
--- a/configure Fri Jan 11 16:06:45 2002 +0000 +++ b/configure Fri Jan 11 17:20:43 2002 +0000 @@ -130,7 +130,7 @@ (use this option if it does not compile) [enable] --disable-streaming disable network streaming support (support for: http/mms/rtp) [enable] - + --disable-vidix disable VIDIX stuff [enable] Video: --enable-gl build with OpenGL render support [autodetect] --enable-dga[=n] build with DGA [n in {1, 2} ] support [autodetect] @@ -705,6 +705,7 @@ _tv=yes _tv_v4l=auto _streaming=yes +_vidix=yes _divx4linux=auto _lirc=auto _gui=no @@ -801,6 +802,8 @@ --disable-fastmemcpy) _fastmemcpy=no ;; --enable-streaming) _streaming=yes ;; --disable-streaming) _streaming=no ;; + --enable-vidix) _vidix=yes ;; + --disable-vidix) _vidix=no ;; --enable-divx4linux) _divx4linux=yes ;; --disable-divx4linux) _divx4linux=no ;; --enable-lirc) _lirc=yes ;; @@ -2732,7 +2735,9 @@ _def_linux='#undef TARGET_LINUX' linux && _def_linux='#define TARGET_LINUX 1' - +_def_vidix='#define CONFIG_VIDIX 1' +test "$_vidix" = no && _def_vidix='#undef CONFIG_VIDIX' +echo Checking for vidix ... "$_vidix" ############################################################################# echo "Creating config.mak" cat > config.mak << EOF @@ -2752,6 +2757,7 @@ STREAMING = $_streaming STREAMING_LIB = $_ld_streaming +VIDIX = $_vidix VO2 = $_vo2 @@ -3038,6 +3044,9 @@ $_def_streaming +/* enables / disables vidix usage */ +$_def_vidix + /* Extension defines */ $_def_3dnow // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.) $_def_3dnowex // only define if you have 3DNOWEX (AMD Athlon, etc.) @@ -3222,6 +3231,13 @@ EOF +if test "$_vidix" = no ; then +cat <<EOF +You've disabled VIDIX. Although it would be better to PORT it instead. +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +EOF +fi + # Last move: rm -f "$TMPO" "$TMPC" "$TMPS" "$TMPCPP"