1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-20 18:28:01 +00:00

opendivx listed at codecs, libvo2/config.mak is optional

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3869 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-12-29 00:03:47 +00:00
parent c632771e77
commit 5ff1b3e9ae

11
configure vendored
View File

@ -2360,15 +2360,16 @@ EOF
echores "$_divx4linux_decore" echores "$_divx4linux_decore"
test "$_divx4linux_decore" = yes && _divx4linux=yes test "$_divx4linux_decore" = yes && _divx4linux=yes
fi fi
_def_decore='#undef NEW_DECORE'
_ld_decore='-Lopendivx -ldecore'
if test "$_divx4linux_decore" = yes ; then if test "$_divx4linux_decore" = yes ; then
_def_decore='#define NEW_DECORE 1' _def_decore='#define NEW_DECORE 1'
_ld_decore='-ldivxdecore opendivx/postprocess.o' _ld_decore='-ldivxdecore opendivx/postprocess.o'
_codecmodules="divx4linux $_codecmodules" _codecmodules="divx4linux $_codecmodules"
else
_ld_decore='-Lopendivx -ldecore'
_def_decore='#undef NEW_DECORE'
_codecmodules="opendivx $_codecmodules"
fi fi
# mencoder requires those libs: libmp3lame and divx4linux encore # mencoder requires those libs: libmp3lame and divx4linux encore
if test "$_mencoder" != no ; then if test "$_mencoder" != no ; then
_mencoder=no _mencoder=no
@ -3022,6 +3023,8 @@ EOF
############################################################################# #############################################################################
if test -d "libvo2" ; then
echo "Creating libvo2/config.mak" echo "Creating libvo2/config.mak"
_vo2obj=`echo $_vo2src | sed -e 's/\.c/\.o/g'` _vo2obj=`echo $_vo2src | sed -e 's/\.c/\.o/g'`
cat > libvo2/config.mak << EOF cat > libvo2/config.mak << EOF
@ -3030,6 +3033,8 @@ OPTIONAL_SRCS = $_vo2src
OPTIONAL_OBJS = $_vo2obj OPTIONAL_OBJS = $_vo2obj
EOF EOF
fi
############################################################################# #############################################################################
echo "Creating libao2/config.mak" echo "Creating libao2/config.mak"