Mercurial > mplayer.hg
diff configure @ 11141:1ed8e514c725
Fix compilation when libavcodec is missing.
Patch by Nico <nsabbi@libero.it>
author | attila |
---|---|
date | Thu, 16 Oct 2003 08:45:10 +0000 |
parents | 1d2c30ef6c11 |
children | f5629a5b79f7 |
line wrap: on
line diff
--- a/configure Thu Oct 16 08:26:40 2003 +0000 +++ b/configure Thu Oct 16 08:45:10 2003 +0000 @@ -3289,6 +3289,7 @@ if test "$_dvb" = yes || test "$_dvbhead" = yes ; then _dvbin=yes + _inputmodules="dvb $_inputmodules" else _dvbin=no fi @@ -4769,6 +4770,11 @@ echores "$_libavcodec" fi +_def_haveffpostprocess='no' +if test -d libavcodec && test -f libavcodec/libpostproc/postprocess.h ; then + _def_haveffpostprocess='yes' +fi + if test "$_libavcodec" != yes ; then echocheck "FFmpeg libavcodec (dynamic)" if test "$_libavcodecso" = auto ; then @@ -4806,7 +4812,6 @@ _def_libavcodec='#define USE_LIBAVCODEC 1' _def_libavcodecso='#define USE_LIBAVCODEC_SO 1' _ld_libavcodec='-lavcodec' - _def_ffpostprocess='#define FF_POSTPROCESS 1' _codecmodules="libavcodec.so $_codecmodules" else _nocodecmodules="libavcodec $_nocodecmodules" @@ -5676,7 +5681,7 @@ OPENDIVX = $_opendivx UNRARLIB = $_unrarlib - +HAVE_FFPOSTPROCESS = $_def_haveffpostprocess PNG = $_mkf_png JPEG = $_mkf_jpg GIF = $_mkf_gif