mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 23:13:18 +08:00
Remove duplicate check for $_faad_external = auto.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19472 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -5809,8 +5809,6 @@ if test "$_faad_internal" = auto ; then
|
||||
fi
|
||||
elif test "$_faad_internal" = no && test "$_faad_external" = auto ; then
|
||||
_ld_faad='-lfaad'
|
||||
# external faad: check if it's really faad2 :)
|
||||
if test "$_faad_external" = auto ; then
|
||||
_faad_external=no
|
||||
cat > $TMPC << EOF
|
||||
#include <faad.h>
|
||||
@@ -5820,7 +5818,6 @@ elif test "$_faad_internal" = no && test "$_faad_external" = auto ; then
|
||||
int main(void) { faacDecHandle testhand; faacDecFrameInfo testinfo; testhand = faacDecOpen(); faacDecInit(0, 0, 0, 0, 0); return 0; }
|
||||
EOF
|
||||
cc_check $_ld_faad $_ld_lm && _faad_external=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$_faad_internal" = yes ; then
|
||||
|
||||
Reference in New Issue
Block a user