[FFmpeg-cvslog] r13554 - trunk/configure

diego subversion
Fri May 30 12:12:56 CEST 2008


Author: diego
Date: Fri May 30 12:12:56 2008
New Revision: 13554

Log:
Simplify altivec.h test.


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Fri May 30 12:12:56 2008
@@ -1531,13 +1531,10 @@ fi
 # AltiVec flags: The FSF version of GCC differs from the Apple version
 if enabled altivec; then
     check_cflags -maltivec -mabi=altivec && \
-        check_header altivec.h || \
+        { check_header altivec.h && inc_altivec_h="#include <altivec.h>" ; } || \
         check_cflags -faltivec
 
     # check if our compiler supports Motorola AltiVec C API
-    enabled altivec_h &&
-        inc_altivec_h="#include <altivec.h>" ||
-        inc_altivec_h=
     check_cc <<EOF || disable altivec
 $inc_altivec_h
 int main(void) {




More information about the ffmpeg-cvslog mailing list