aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-03-15 09:45:06 +0000
committerDiego Biurrun <diego@biurrun.de>2008-03-15 09:45:06 +0000
commit0870c7674a2f67a3504162e90985448e4bc35329 (patch)
tree144903887c8d31a8fc46165cdf7fe450ab51cb23
parent216d513c34b2eadab49fa1b57eb767b35932d9cf (diff)
downloadffmpeg-0870c7674a2f67a3504162e90985448e4bc35329.tar.gz
cosmetics: Reformat Apple cc check.
Originally committed as revision 12444 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 6af78a7e27..c0116c1e68 100755
--- a/configure
+++ b/configure
@@ -1532,9 +1532,11 @@ fi
# AltiVec flags: The FSF version of GCC differs from the Apple version
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"
+ fi
check_header altivec.h