OSDN Git Service

cosmetics: Reformat Apple cc check.
authorDiego Biurrun <diego@biurrun.de>
Sat, 15 Mar 2008 09:45:06 +0000 (09:45 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 15 Mar 2008 09:45:06 +0000 (09:45 +0000)
Originally committed as revision 12444 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 6af78a7..c0116c1 100755 (executable)
--- 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