Browse Source

cosmetics: Reformat Apple cc check.

Originally committed as revision 12444 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun 17 years ago
parent
commit
0870c7674a
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      configure

+ 4
- 2
configure View File

@@ -1532,9 +1532,11 @@ fi


# AltiVec flags: The FSF version of GCC differs from the Apple version # AltiVec flags: The FSF version of GCC differs from the Apple version
if enabled altivec; then if enabled altivec; then
test -n "`$cc -v 2>&1 | grep version | grep Apple`" &&
add_cflags "-faltivec" ||
if test -n "`$cc -v 2>&1 | grep version | grep Apple`"; then
add_cflags "-faltivec"
else
add_cflags "-maltivec -mabi=altivec" add_cflags "-maltivec -mabi=altivec"
fi


check_header altivec.h check_header altivec.h




Loading…
Cancel
Save