Mercurial > mplayer.hg
comparison configure @ 12164:77ff303c0eaa
demux_lavf
author | michael |
---|---|
date | Sun, 11 Apr 2004 14:26:04 +0000 |
parents | fd203b7df912 |
children | 4a3a984b2fb4 |
comparison
equal
deleted
inserted
replaced
12163:012b55951076 | 12164:77ff303c0eaa |
---|---|
197 --disable-real disable RealPlayer DLL support [autodetect] | 197 --disable-real disable RealPlayer DLL support [autodetect] |
198 --disable-xvid disable XviD codec [autodetect] | 198 --disable-xvid disable XviD codec [autodetect] |
199 --disable-divx4linux disable DivX4linux/Divx5linux codec [autodetect] | 199 --disable-divx4linux disable DivX4linux/Divx5linux codec [autodetect] |
200 --enable-opendivx enable _old_ OpenDivx codec [disable] | 200 --enable-opendivx enable _old_ OpenDivx codec [disable] |
201 --disable-libavcodec disable libavcodec [autodetect] | 201 --disable-libavcodec disable libavcodec [autodetect] |
202 --disable-libavformat disable libavformat [autodetect] | |
202 --enable-libfame enable libfame realtime encoder [autodetect] | 203 --enable-libfame enable libfame realtime encoder [autodetect] |
203 --enable-vorbis build with OggVorbis support [autodetect] | 204 --enable-vorbis build with OggVorbis support [autodetect] |
204 --enable-tremor build with integer-only OggVorbis support [disabled] | 205 --enable-tremor build with integer-only OggVorbis support [disabled] |
205 --enable-theora build with OggTheora support [autodetect] | 206 --enable-theora build with OggTheora support [autodetect] |
206 --enable-external-matroska build with external Matroska support [autodetect] | 207 --enable-external-matroska build with external Matroska support [autodetect] |
1131 # GOTCHA: the variables below defines the default behavior for autodetection | 1132 # GOTCHA: the variables below defines the default behavior for autodetection |
1132 # and have - unless stated otherwise - at least 2 states : yes no | 1133 # and have - unless stated otherwise - at least 2 states : yes no |
1133 # If autodetection is available then the third state is: auto | 1134 # If autodetection is available then the third state is: auto |
1134 _libavcodec=auto | 1135 _libavcodec=auto |
1135 _libavcodecso=auto | 1136 _libavcodecso=auto |
1137 _libavformat=auto | |
1136 _fame=auto | 1138 _fame=auto |
1137 _mp1e=no | 1139 _mp1e=no |
1138 _mencoder=yes | 1140 _mencoder=yes |
1139 _x11=auto | 1141 _x11=auto |
1140 _dga=auto # 1 2 no auto | 1142 _dga=auto # 1 2 no auto |
1410 --disable-divx4linux) _divx4linux=no ;; | 1412 --disable-divx4linux) _divx4linux=no ;; |
1411 --enable-opendivx) _opendivx=yes ;; | 1413 --enable-opendivx) _opendivx=yes ;; |
1412 --disable-opendivx) _opendivx=no ;; | 1414 --disable-opendivx) _opendivx=no ;; |
1413 --enable-libavcodec) _libavcodec=yes ;; | 1415 --enable-libavcodec) _libavcodec=yes ;; |
1414 --disable-libavcodec) _libavcodec=no ;; | 1416 --disable-libavcodec) _libavcodec=no ;; |
1417 --enable-libavformat) _libavformat=yes;; | |
1418 --disable-libavformat) _libavformat=no ;; | |
1415 --enable-libfame) _fame=yes ;; | 1419 --enable-libfame) _fame=yes ;; |
1416 --disable-libfame) _fame=no ;; | 1420 --disable-libfame) _fame=no ;; |
1417 --enable-lirc) _lirc=yes ;; | 1421 --enable-lirc) _lirc=yes ;; |
1418 --disable-lirc) _lirc=no ;; | 1422 --disable-lirc) _lirc=no ;; |
1419 --enable-lircc) _lircc=yes ;; | 1423 --enable-lircc) _lircc=yes ;; |
5027 fi | 5031 fi |
5028 else | 5032 else |
5029 echores "$_libavcodec" | 5033 echores "$_libavcodec" |
5030 fi | 5034 fi |
5031 | 5035 |
5036 echocheck "FFmpeg libavformatc (static)" | |
5037 if test "$_libavformat" = auto ; then | |
5038 # Note: static linking is preferred to dynamic linking | |
5039 _libavformat=no | |
5040 if test -d libavformat && test -f libavformat/utils.c ; then | |
5041 _libavformat=yes | |
5042 echores "yes" | |
5043 else | |
5044 echores "no" | |
5045 fi | |
5046 else | |
5047 echores "$_libavformat" | |
5048 fi | |
5049 | |
5032 _def_haveffpostprocess='no' | 5050 _def_haveffpostprocess='no' |
5033 if test -d libavcodec && test -f libavcodec/libpostproc/postprocess.h ; then | 5051 if test -d libavcodec && test -f libavcodec/libpostproc/postprocess.h ; then |
5034 _def_haveffpostprocess='yes' | 5052 _def_haveffpostprocess='yes' |
5035 fi | 5053 fi |
5036 | 5054 |
5072 _def_libavcodecso='#define USE_LIBAVCODEC_SO 1' | 5090 _def_libavcodecso='#define USE_LIBAVCODEC_SO 1' |
5073 _ld_libavcodec='-lavcodec' | 5091 _ld_libavcodec='-lavcodec' |
5074 _codecmodules="libavcodec.so $_codecmodules" | 5092 _codecmodules="libavcodec.so $_codecmodules" |
5075 else | 5093 else |
5076 _nocodecmodules="libavcodec $_nocodecmodules" | 5094 _nocodecmodules="libavcodec $_nocodecmodules" |
5095 fi | |
5096 | |
5097 _def_libavformat='#undef USE_LIBAVFORMAT' | |
5098 if test "$_libavformat" = yes ; then | |
5099 _def_libavformat='#define USE_LIBAVFORMAT 1' | |
5100 _ld_libavformat='libavformat/libavformat.a' | |
5101 _dep_libavformat='libavformat/libavformat.a' | |
5077 fi | 5102 fi |
5078 | 5103 |
5079 echocheck "libdv-0.9.5+" | 5104 echocheck "libdv-0.9.5+" |
5080 if test "$_libdv" = auto ; then | 5105 if test "$_libdv" = auto ; then |
5081 _libdv=no | 5106 _libdv=no |
5916 X11DIR = $_ld_x11 | 5941 X11DIR = $_ld_x11 |
5917 | 5942 |
5918 HAVE_XVMC_ACCEL = $_xvmc | 5943 HAVE_XVMC_ACCEL = $_xvmc |
5919 | 5944 |
5920 # for libavcodec: | 5945 # for libavcodec: |
5921 SRC_PATH=. | 5946 SRC_PATH=.. |
5922 LIBPREF=lib | 5947 LIBPREF=lib |
5923 LIBSUF=.a | 5948 LIBSUF=.a |
5924 SLIBPREF=lib | 5949 SLIBPREF=lib |
5925 SLIBSUF=.so | 5950 SLIBSUF=.so |
5926 | 5951 |
5959 SDL_INC = $_inc_sdl | 5984 SDL_INC = $_inc_sdl |
5960 W32_DEP = $_dep_win32 | 5985 W32_DEP = $_dep_win32 |
5961 W32_LIB = $_ld_win32 | 5986 W32_LIB = $_ld_win32 |
5962 DS_DEP = $_dep_dshow | 5987 DS_DEP = $_dep_dshow |
5963 DS_LIB = $_ld_dshow | 5988 DS_LIB = $_ld_dshow |
5964 AV_DEP = $_dep_libavcodec | 5989 AV_DEP = $_dep_libavcodec $_dep_libavformat |
5965 AV_LIB = $_ld_libavcodec | 5990 AV_LIB = $_ld_libavcodec $_ld_libavformat |
5991 CONFIG_LIBAVFORMAT = $_libavformat | |
5966 ZORAN = $_zr | 5992 ZORAN = $_zr |
5967 FAME = $_fame | 5993 FAME = $_fame |
5968 FAME_LIB = $_ld_fame | 5994 FAME_LIB = $_ld_fame |
5969 MP1E_DEP = $_dep_mp1e | 5995 MP1E_DEP = $_dep_mp1e |
5970 MP1E_LIB = $_ld_mp1e | 5996 MP1E_LIB = $_ld_mp1e |
6265 $_def_win32_loader | 6291 $_def_win32_loader |
6266 | 6292 |
6267 /* ffmpeg's libavcodec support (requires libavcodec source) */ | 6293 /* ffmpeg's libavcodec support (requires libavcodec source) */ |
6268 $_def_libavcodec | 6294 $_def_libavcodec |
6269 $_def_libavcodecso | 6295 $_def_libavcodecso |
6296 | |
6297 /* ffmpeg's libavformat support (requires libavformat source) */ | |
6298 $_def_libavformat | |
6270 | 6299 |
6271 /* risky codecs */ | 6300 /* risky codecs */ |
6272 #define CONFIG_RISKY 1 | 6301 #define CONFIG_RISKY 1 |
6273 | 6302 |
6274 /* Use libavcodec's decoders */ | 6303 /* Use libavcodec's decoders */ |