[FFmpeg-cvslog] r12445 - trunk/configure

diego subversion
Sat Mar 15 10:47:49 CET 2008


Author: diego
Date: Sat Mar 15 10:47:49 2008
New Revision: 12445

Log:
Only check for altivec.h when not using Apple gcc and not adding -faltivec to
CFLAGS. This avoids a couple of warnings of the type
'#warning: Ignoring <altivec.h> because "-faltivec" specified'.


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sat Mar 15 10:47:49 2008
@@ -1536,10 +1536,9 @@ if enabled altivec; then
         add_cflags "-faltivec"
     else
         add_cflags "-maltivec -mabi=altivec"
+        check_header altivec.h
     fi
 
-    check_header altivec.h
-
     # check if our compiler supports Motorola AltiVec C API
     enabled altivec_h &&
         inc_altivec_h="#include <altivec.h>" ||




More information about the ffmpeg-cvslog mailing list