mirror of https://github.com/mpv-player/mpv
enable libfame only for dxr3/dvb owners by default, libfame check moved right after libmp1e check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5961 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
497fa655c9
commit
f958fc46bc
|
@ -132,7 +132,7 @@ Optional features:
|
||||||
--disable-divx4linux disable DivX4linux codec [autodetect]
|
--disable-divx4linux disable DivX4linux codec [autodetect]
|
||||||
--enable-opendivx enable _old_ OpenDivx codec [disable]
|
--enable-opendivx enable _old_ OpenDivx codec [disable]
|
||||||
--disable-libavcodec disable libavcodec [autodetect]
|
--disable-libavcodec disable libavcodec [autodetect]
|
||||||
--disable-libfame disable libfame realtime-encoder [autodetect]
|
--enable-libfame enable libfame realtime-encoder [autodetect]
|
||||||
--enable-vorbis build with OggVorbis support [autodetect]
|
--enable-vorbis build with OggVorbis support [autodetect]
|
||||||
--enable-faad build with FAAD (AAC) support [autodetect]
|
--enable-faad build with FAAD (AAC) support [autodetect]
|
||||||
--disable-iconv do not use iconv(3) function [autodetect]
|
--disable-iconv do not use iconv(3) function [autodetect]
|
||||||
|
@ -2448,6 +2448,33 @@ else
|
||||||
fi
|
fi
|
||||||
echores "$_mp1e"
|
echores "$_mp1e"
|
||||||
|
|
||||||
|
|
||||||
|
echocheck "libfame"
|
||||||
|
if test "$_fame" = auto ; then
|
||||||
|
_fame=no
|
||||||
|
test "$_dxr3" = yes && _fame=auto
|
||||||
|
test "$_dvb" = yes && _fame=auto
|
||||||
|
fi
|
||||||
|
if test "$_fame" = auto ; then
|
||||||
|
_fame=no
|
||||||
|
if test -d libfame && test -f libfame/fame.h ; then
|
||||||
|
# disable fame on cygwin as no sense to port - atmos
|
||||||
|
cygwin || _fame=yes
|
||||||
|
echores $_fame
|
||||||
|
else
|
||||||
|
echores "no (no fame dir)"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echores "$_fame"
|
||||||
|
fi
|
||||||
|
|
||||||
|
_def_fame='#undef USE_LIBFAME'
|
||||||
|
if test "$_fame" = yes ; then
|
||||||
|
_def_fame='#define USE_LIBFAME 1'
|
||||||
|
_ld_fame='-Llibfame -lfame'
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
#########
|
#########
|
||||||
# AUDIO #
|
# AUDIO #
|
||||||
#########
|
#########
|
||||||
|
@ -3059,26 +3086,6 @@ else
|
||||||
_nocodecmodules="libavcodec $_nocodecmodules"
|
_nocodecmodules="libavcodec $_nocodecmodules"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echocheck "libfame"
|
|
||||||
if test "$_fame" = auto ; then
|
|
||||||
_fame=no
|
|
||||||
if test -d libfame && test -f libfame/fame.h ; then
|
|
||||||
# disable fame on cygwin as no sense to port - atmos
|
|
||||||
cygwin || _fame=yes
|
|
||||||
echores $_fame
|
|
||||||
else
|
|
||||||
echores "no (no fame dir)"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
echores "$_fame"
|
|
||||||
fi
|
|
||||||
|
|
||||||
_def_fame='#undef USE_LIBFAME'
|
|
||||||
if test "$_fame" = yes ; then
|
|
||||||
_def_fame='#define USE_LIBFAME 1'
|
|
||||||
_ld_fame='-Llibfame -lfame'
|
|
||||||
fi
|
|
||||||
|
|
||||||
echocheck "libdv-0.9.5 (for mencoder)"
|
echocheck "libdv-0.9.5 (for mencoder)"
|
||||||
if test "$_libdv" = auto ; then
|
if test "$_libdv" = auto ; then
|
||||||
_libdv=no
|
_libdv=no
|
||||||
|
|
Loading…
Reference in New Issue