[FFmpeg-cvslog] r12448 - trunk/configure

diego subversion
Sat Mar 15 16:54:20 CET 2008


Author: diego
Date: Sat Mar 15 16:54:20 2008
New Revision: 12448

Log:
Properly check for AltiVec CFLAGS instead of guessing based on compiler vendor.


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sat Mar 15 16:54:20 2008
@@ -1532,12 +1532,9 @@ fi
 
 # AltiVec flags: The FSF version of GCC differs from the Apple version
 if enabled altivec; then
-    if test -n "`$cc -v 2>&1 | grep version | grep Apple`"; then
-        add_cflags "-faltivec"
-    else
-        add_cflags "-maltivec -mabi=altivec"
-        check_header altivec.h
-    fi
+    check_cflags -maltivec -mabi=altivec &&
+        check_header altivec.h ||
+        check_cflags -faltivec
 
     # check if our compiler supports Motorola AltiVec C API
     enabled altivec_h &&




More information about the ffmpeg-cvslog mailing list