Mercurial > mplayer.hg
comparison configure @ 4489:745cf5ba7117
make opendivx codec optional at compiletime
author | rfelker |
---|---|
date | Sun, 03 Feb 2002 00:52:51 +0000 |
parents | 2b6c3b1a9676 |
children | dcf46e65bd29 |
comparison
equal
deleted
inserted
replaced
4488:7e8910727e7a | 4489:745cf5ba7117 |
---|---|
121 --disable-tv disable TV Interface (tv/dvb grabbers) [enable] | 121 --disable-tv disable TV Interface (tv/dvb grabbers) [enable] |
122 --disable-tv-v4l disable Video 4 Linux TV Interface support [autodetect] | 122 --disable-tv-v4l disable Video 4 Linux TV Interface support [autodetect] |
123 --disable-win32 disable Win32 DLL support [autodetect] | 123 --disable-win32 disable Win32 DLL support [autodetect] |
124 --disable-dshow disable DirectShow support [autodetect] | 124 --disable-dshow disable DirectShow support [autodetect] |
125 --disable-xanim disable XAnim DLL support [autodetect] | 125 --disable-xanim disable XAnim DLL support [autodetect] |
126 --disable-divx4linux disable Divx4Linux codec [enable] | |
127 --disable-opendivx disable OpenDivx codec [enable] | |
126 --enable-vorbis build with OggVorbis support [autodetect] | 128 --enable-vorbis build with OggVorbis support [autodetect] |
127 --disable-iconv do not use iconv(3) function [autodetect] | 129 --disable-iconv do not use iconv(3) function [autodetect] |
128 --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] | 130 --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] |
129 --disable-mp1e disable libmp1e support | 131 --disable-mp1e disable libmp1e support |
130 (use this option if it does not compile) [enable] | 132 (use this option if it does not compile) [enable] |
740 _tv=yes | 742 _tv=yes |
741 _tv_v4l=auto | 743 _tv_v4l=auto |
742 _streaming=yes | 744 _streaming=yes |
743 _vidix=yes | 745 _vidix=yes |
744 _divx4linux=auto | 746 _divx4linux=auto |
747 _opendivx=yes | |
745 _lirc=auto | 748 _lirc=auto |
746 _gui=no | 749 _gui=no |
747 _termcap=auto | 750 _termcap=auto |
748 _termios=auto | 751 _termios=auto |
749 _3dfx=no | 752 _3dfx=no |
841 --disable-streaming) _streaming=no ;; | 844 --disable-streaming) _streaming=no ;; |
842 --enable-vidix) _vidix=yes ;; | 845 --enable-vidix) _vidix=yes ;; |
843 --disable-vidix) _vidix=no ;; | 846 --disable-vidix) _vidix=no ;; |
844 --enable-divx4linux) _divx4linux=yes ;; | 847 --enable-divx4linux) _divx4linux=yes ;; |
845 --disable-divx4linux) _divx4linux=no ;; | 848 --disable-divx4linux) _divx4linux=no ;; |
849 --enable-opendivx) _opendivx=yes ;; | |
850 --disable-opendivx) _opendivx=no ;; | |
846 --enable-lirc) _lirc=yes ;; | 851 --enable-lirc) _lirc=yes ;; |
847 --disable-lirc) _lirc=no ;; | 852 --disable-lirc) _lirc=no ;; |
848 --enable-gui) _gui=yes ;; | 853 --enable-gui) _gui=yes ;; |
849 --disable-gui) _gui=no ;; | 854 --disable-gui) _gui=no ;; |
850 --enable-termcap) _termcap=yes ;; | 855 --enable-termcap) _termcap=yes ;; |
2547 fi | 2552 fi |
2548 echores "$_divx4linux_decore" | 2553 echores "$_divx4linux_decore" |
2549 test "$_divx4linux_decore" = yes && _divx4linux=yes | 2554 test "$_divx4linux_decore" = yes && _divx4linux=yes |
2550 fi | 2555 fi |
2551 if test "$_divx4linux_decore" = yes ; then | 2556 if test "$_divx4linux_decore" = yes ; then |
2557 _opendivx='no' | |
2552 _def_decore='#define NEW_DECORE 1' | 2558 _def_decore='#define NEW_DECORE 1' |
2553 _ld_decore='-ldivxdecore opendivx/postprocess.o' | 2559 _ld_decore='-ldivxdecore opendivx/postprocess.o' |
2560 _def_divx='#define USE_DIVX' | |
2561 _def_odivx_postprocess='#define HAVE_ODIVX_POSTPROCESS 1' | |
2554 _codecmodules="divx4linux $_codecmodules" | 2562 _codecmodules="divx4linux $_codecmodules" |
2555 else | 2563 else |
2556 _ld_decore='-Lopendivx -ldecore' | 2564 if test "$_opendivx" = yes ; then |
2557 _def_decore='#undef NEW_DECORE' | 2565 _ld_decore='-Lopendivx -ldecore' |
2558 _codecmodules="opendivx $_codecmodules" | 2566 _def_decore='#undef NEW_DECORE' |
2567 _def_divx='#define USE_DIVX' | |
2568 _def_odivx_postprocess='#define HAVE_ODIVX_POSTPROCESS 1' | |
2569 _codecmodules="opendivx $_codecmodules" | |
2570 else | |
2571 _ld_decore='' | |
2572 _def_decore='#undef NEW_DECORE' | |
2573 _def_divx='#undef USE_DIVX' | |
2574 _def_odivx_postprocess='#undef HAVE_ODIVX_POSTPROCESS' | |
2575 fi | |
2559 fi | 2576 fi |
2560 | 2577 |
2561 # mencoder requires (optional) those libs: libmp3lame and divx4linux encore | 2578 # mencoder requires (optional) those libs: libmp3lame and divx4linux encore |
2562 if test "$_mencoder" != no ; then | 2579 if test "$_mencoder" != no ; then |
2563 | 2580 |
2872 | 2889 |
2873 STREAMING = $_streaming | 2890 STREAMING = $_streaming |
2874 STREAMING_LIB = $_ld_streaming | 2891 STREAMING_LIB = $_ld_streaming |
2875 VIDIX = $_vidix | 2892 VIDIX = $_vidix |
2876 | 2893 |
2894 OPENDIVX = $_opendivx | |
2895 | |
2877 VO2 = $_vo2 | 2896 VO2 = $_vo2 |
2878 | 2897 |
2879 EXTRA_LIB = $_ld_extra | 2898 EXTRA_LIB = $_ld_extra |
2880 Z_LIB = $_ld_static $_ld_zlib | 2899 Z_LIB = $_ld_static $_ld_zlib |
2881 HAVE_MLIB = $_mlib | 2900 HAVE_MLIB = $_mlib |
2970 | 2989 |
2971 /* Define this to compile stream-caching support, it can be enabled via | 2990 /* Define this to compile stream-caching support, it can be enabled via |
2972 -cache <kilobytes> */ | 2991 -cache <kilobytes> */ |
2973 #define USE_STREAM_CACHE 1 | 2992 #define USE_STREAM_CACHE 1 |
2974 | 2993 |
2994 /* Define to include support for OpenDivx/Divx4Linux */ | |
2995 $_def_divx | |
2996 | |
2975 /* Define for using new DivX4Linux library, instead of open-source OpenDivX */ | 2997 /* Define for using new DivX4Linux library, instead of open-source OpenDivX */ |
2976 /* You have to change DECORE_LIBS in config.mak too! */ | 2998 /* You have to change DECORE_LIBS in config.mak too! */ |
2977 $_def_decore | 2999 $_def_decore |
2978 | 3000 |
2979 /* If build mencoder */ | 3001 /* If build mencoder */ |
3062 #define MPEG12_POSTPROC 1 | 3084 #define MPEG12_POSTPROC 1 |
3063 | 3085 |
3064 /* Define this to enable image postprocessing in libavcodec (requires FAST cpu!) */ | 3086 /* Define this to enable image postprocessing in libavcodec (requires FAST cpu!) */ |
3065 $_def_ffpostprocess | 3087 $_def_ffpostprocess |
3066 | 3088 |
3067 #define HAVE_ODIVX_POSTPROCESS 1 | 3089 /* Define to include support for OpenDivx postprocessing */ |
3090 $_def_odivx_postprocess | |
3068 | 3091 |
3069 /* Win32 DLL support */ | 3092 /* Win32 DLL support */ |
3070 $_def_win32 | 3093 $_def_win32 |
3071 | 3094 |
3072 /* DirectShow support */ | 3095 /* DirectShow support */ |