mirror of
https://github.com/mpv-player/mpv
synced 2025-03-21 02:41:13 +00:00
Move twolame check before toolame check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21924 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
14b293cbd8
commit
811cec046e
38
configure
vendored
38
configure
vendored
@ -5639,6 +5639,25 @@ else
|
||||
fi
|
||||
echores "$_mad"
|
||||
|
||||
echocheck "Twolame"
|
||||
if test "$_twolame" = auto ; then
|
||||
cat > $TMPC <<EOF
|
||||
#include <twolame.h>
|
||||
int main(void) { twolame_init(); return 0; }
|
||||
EOF
|
||||
_twolame=no
|
||||
cc_check -ltwolame $_ld_lm && _twolame=yes
|
||||
fi
|
||||
if test "$_twolame" = yes ; then
|
||||
_def_twolame='#define HAVE_TWOLAME 1'
|
||||
_libs_mencoder="$_libs_mencoder -ltwolame"
|
||||
_codecmodules="twolame $_codecmodules"
|
||||
else
|
||||
_def_twolame='#undef HAVE_TWOLAME'
|
||||
_nocodecmodules="twolame $_nocodecmodules"
|
||||
fi
|
||||
echores "$_twolame"
|
||||
|
||||
echocheck "Toolame"
|
||||
if test "$_toolame" = auto ; then
|
||||
cat > $TMPC <<EOF
|
||||
@ -5661,25 +5680,6 @@ if test "$_toolamedir" ; then
|
||||
fi
|
||||
echores "$_toolame"
|
||||
|
||||
echocheck "Twolame"
|
||||
if test "$_twolame" = auto ; then
|
||||
cat > $TMPC <<EOF
|
||||
#include <twolame.h>
|
||||
int main(void) { twolame_init(); return 0; }
|
||||
EOF
|
||||
_twolame=no
|
||||
cc_check -ltwolame $_ld_lm && _twolame=yes
|
||||
fi
|
||||
if test "$_twolame" = yes ; then
|
||||
_def_twolame='#define HAVE_TWOLAME 1'
|
||||
_libs_mencoder="$_libs_mencoder -ltwolame"
|
||||
_codecmodules="twolame $_codecmodules"
|
||||
else
|
||||
_def_twolame='#undef HAVE_TWOLAME'
|
||||
_nocodecmodules="twolame $_nocodecmodules"
|
||||
fi
|
||||
echores "$_twolame"
|
||||
|
||||
echocheck "OggVorbis support"
|
||||
if test "$_tremor_internal" = yes; then
|
||||
_libvorbis=no
|
||||
|
Loading…
Reference in New Issue
Block a user