Mercurial > mplayer.hg
comparison configure @ 3868:8a4ef002bb89
opendivx listed at codecs, libvo2/config.mak is optional
author | arpi |
---|---|
date | Sat, 29 Dec 2001 00:03:47 +0000 |
parents | a0c8079d2711 |
children | fb8ff040ff17 |
comparison
equal
deleted
inserted
replaced
3867:c8a05d5f68b5 | 3868:8a4ef002bb89 |
---|---|
2358 _divx4linux_decore='not found' | 2358 _divx4linux_decore='not found' |
2359 fi | 2359 fi |
2360 echores "$_divx4linux_decore" | 2360 echores "$_divx4linux_decore" |
2361 test "$_divx4linux_decore" = yes && _divx4linux=yes | 2361 test "$_divx4linux_decore" = yes && _divx4linux=yes |
2362 fi | 2362 fi |
2363 _def_decore='#undef NEW_DECORE' | |
2364 _ld_decore='-Lopendivx -ldecore' | |
2365 if test "$_divx4linux_decore" = yes ; then | 2363 if test "$_divx4linux_decore" = yes ; then |
2366 _def_decore='#define NEW_DECORE 1' | 2364 _def_decore='#define NEW_DECORE 1' |
2367 _ld_decore='-ldivxdecore opendivx/postprocess.o' | 2365 _ld_decore='-ldivxdecore opendivx/postprocess.o' |
2368 _codecmodules="divx4linux $_codecmodules" | 2366 _codecmodules="divx4linux $_codecmodules" |
2369 fi | 2367 else |
2370 | 2368 _ld_decore='-Lopendivx -ldecore' |
2369 _def_decore='#undef NEW_DECORE' | |
2370 _codecmodules="opendivx $_codecmodules" | |
2371 fi | |
2371 | 2372 |
2372 # mencoder requires those libs: libmp3lame and divx4linux encore | 2373 # mencoder requires those libs: libmp3lame and divx4linux encore |
2373 if test "$_mencoder" != no ; then | 2374 if test "$_mencoder" != no ; then |
2374 _mencoder=no | 2375 _mencoder=no |
2375 | 2376 |
3020 OPTIONAL_OBJS = $_voobj | 3021 OPTIONAL_OBJS = $_voobj |
3021 EOF | 3022 EOF |
3022 | 3023 |
3023 ############################################################################# | 3024 ############################################################################# |
3024 | 3025 |
3026 if test -d "libvo2" ; then | |
3027 | |
3025 echo "Creating libvo2/config.mak" | 3028 echo "Creating libvo2/config.mak" |
3026 _vo2obj=`echo $_vo2src | sed -e 's/\.c/\.o/g'` | 3029 _vo2obj=`echo $_vo2src | sed -e 's/\.c/\.o/g'` |
3027 cat > libvo2/config.mak << EOF | 3030 cat > libvo2/config.mak << EOF |
3028 include ../config.mak | 3031 include ../config.mak |
3029 OPTIONAL_SRCS = $_vo2src | 3032 OPTIONAL_SRCS = $_vo2src |
3030 OPTIONAL_OBJS = $_vo2obj | 3033 OPTIONAL_OBJS = $_vo2obj |
3031 EOF | 3034 EOF |
3035 | |
3036 fi | |
3032 | 3037 |
3033 ############################################################################# | 3038 ############################################################################# |
3034 | 3039 |
3035 echo "Creating libao2/config.mak" | 3040 echo "Creating libao2/config.mak" |
3036 _aoobj=`echo $_aosrc | sed -e 's/\.c/\.o/g'` | 3041 _aoobj=`echo $_aosrc | sed -e 's/\.c/\.o/g'` |