1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

cosmetics: Reformat Apple cc check.

Originally committed as revision 12444 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2008-03-15 09:45:06 +00:00
parent 216d513c34
commit 0870c7674a

6
configure vendored
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`" && if test -n "`$cc -v 2>&1 | grep version | grep Apple`"; then
add_cflags "-faltivec" || add_cflags "-faltivec"
else
add_cflags "-maltivec -mabi=altivec" add_cflags "-maltivec -mabi=altivec"
fi
check_header altivec.h check_header altivec.h