[MPlayer-cvslog] r26720 - trunk/configure

diego subversion at mplayerhq.hu
Sat May 10 16:57:13 CEST 2008


Author: diego
Date: Sat May 10 16:57:13 2008
New Revision: 26720

Log:
Prefer FSF-style AltiVec flags over Apple-style.
FSF gcc is better than Apple gcc.


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sat May 10 16:57:13 2008
@@ -2418,11 +2418,9 @@ if test "$_altivec" = yes || test "$_run
     cat > $TMPC << EOF
 int main(void) { return 0; }
 EOF
-    # check for Darwin-style flags first, since gcc-3.3 (August Update
-    # from Apple) on MacOS 10.2.8 accepts but ignores FSF-style flags...
-    cc_check -faltivec && _altivec_gcc_flags=-faltivec \
-        || cc_check -maltivec -mabi=altivec \
+    cc_check -maltivec -mabi=altivec \
         && _altivec_gcc_flags="-maltivec -mabi=altivec" \
+        || cc_check -faltivec && _altivec_gcc_flags=-faltivec \
         || _altivec=no
     echores "$_altivec_gcc_flags"
 



More information about the MPlayer-cvslog mailing list