disable faad with gcc 3.2

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10821 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2003-09-05 23:50:56 +00:00
parent c821c41c8b
commit 7f086bc51b
1 changed files with 4 additions and 1 deletions

5
configure vendored
View File

@ -4322,7 +4322,10 @@ int main(void) {
return 0;
}
EOF
if cc_check $_inc_faad $_ld_faad -lm && "$TMPO" >> "$TMPLOG" ; then
if test "$_cc_major" -eq "3" && test "$_cc_minor" -eq "2" ; then
_faad=no
echores "no (buggy gcc fails compiling)"
elif cc_check $_inc_faad $_ld_faad -lm && "$TMPO" >> "$TMPLOG" ; then
_faad_version=`"$TMPO"`
_faad_tempversion=`"$TMPO" | sed -e 's/^\([0-9]\{1,\}\)\.\([0-9]\{1,\}\).*/\1\2/'`
_def_faad_version="#define FAADVERSION $_faad_tempversion"