summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-22 11:03:45 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-22 11:03:45 +0000
commite53431f1cc68ce17c13d67f2984fcfddc2d2c76c (patch)
tree1ac6552ec7fcfd8f3936d402b36168d7ea45ac7b /configure
parentfeadc2c1f327f8f4749299a2ca720679aef03944 (diff)
downloadmpv-e53431f1cc68ce17c13d67f2984fcfddc2d2c76c.tar.bz2
mpv-e53431f1cc68ce17c13d67f2984fcfddc2d2c76c.tar.xz
Blacklist certain gcc versions instead of running an expensive compilation
during the internal FAAD check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18179 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure25
1 files changed, 10 insertions, 15 deletions
diff --git a/configure b/configure
index 27762ae074..aacf530792 100755
--- a/configure
+++ b/configure
@@ -5665,22 +5665,17 @@ fi
echores "$_faac"
echocheck "internal FAAD2 (AAC) support"
-_inc_faad="-I`pwd`/libfaad2"
if test "$_faad_internal" = auto ; then
- # the faad check needs a config.h file
- if not test -f "config.h" ; then
- cat > config.h << EOF
-/* C99 lrintf function available */
-$_def_lrintf
-EOF
- fi
- # internal faad: check if our dear gcc is able to compile it...
- cp "`pwd`/libfaad2/cfft.c" $TMPC
- if ( cc_check -c -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer -D_GNU_SOURCE $_inc_faad ); then
- _faad_internal=yes
- else
- _faad_internal=no
- _res_comment="(broken gcc)"
+ if x86 && test cc_vendor=gnu; then
+ case $cc_version in
+ 3.1*|3.2) # ICE/insn with these versions
+ _faad_internal=no
+ _res_comment="broken gcc"
+ ;;
+ *)
+ _faad_internal=yes
+ ;;
+ esac
fi
fi
if test "$_faad_internal" = yes ; then