aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-29 00:03:47 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-29 00:03:47 +0000
commit5ff1b3e9ae48872d28f52d5c3f1ee9329259e13f (patch)
tree600c0c0c4a8df7190d4a4bb7d377c2feff5dc902 /configure
parentc632771e77a03e41060cf0ae2a07a61ace111474 (diff)
opendivx listed at codecs, libvo2/config.mak is optional
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3869 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure b/configure
index 37aaa7f177..19c10a44d1 100755
--- a/configure
+++ b/configure
@@ -2360,15 +2360,16 @@ EOF
echores "$_divx4linux_decore"
test "$_divx4linux_decore" = yes && _divx4linux=yes
fi
-_def_decore='#undef NEW_DECORE'
-_ld_decore='-Lopendivx -ldecore'
if test "$_divx4linux_decore" = yes ; then
_def_decore='#define NEW_DECORE 1'
_ld_decore='-ldivxdecore opendivx/postprocess.o'
_codecmodules="divx4linux $_codecmodules"
+else
+ _ld_decore='-Lopendivx -ldecore'
+ _def_decore='#undef NEW_DECORE'
+ _codecmodules="opendivx $_codecmodules"
fi
-
# mencoder requires those libs: libmp3lame and divx4linux encore
if test "$_mencoder" != no ; then
_mencoder=no
@@ -3022,6 +3023,8 @@ EOF
#############################################################################
+if test -d "libvo2" ; then
+
echo "Creating libvo2/config.mak"
_vo2obj=`echo $_vo2src | sed -e 's/\.c/\.o/g'`
cat > libvo2/config.mak << EOF
@@ -3030,6 +3033,8 @@ OPTIONAL_SRCS = $_vo2src
OPTIONAL_OBJS = $_vo2obj
EOF
+fi
+
#############################################################################
echo "Creating libao2/config.mak"