[MPlayer-cvslog] r28408 - trunk/configure

diego subversion at mplayerhq.hu
Sat Jan 31 23:37:54 CET 2009


Author: diego
Date: Sat Jan 31 23:37:53 2009
New Revision: 28408

Log:
Make sure HAVE_ALTIVEC_H is always #defined.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Jan 31 23:37:12 2009	(r28407)
+++ trunk/configure	Sat Jan 31 23:37:53 2009	(r28408)
@@ -2506,6 +2506,7 @@ fi #if x86
 
 
 #FIXME: This should happen before the check for CFLAGS..
+def_altivec_h='#define HAVE_ALTIVEC_H 0'
 if ppc && ( test "$_altivec" = yes || test "$_runtime_cpudetection" = yes ) ; then
 
     # check if AltiVec is supported by the compiler, and how to enable it
@@ -2516,7 +2517,6 @@ EOF
     if $(cc_check -maltivec -mabi=altivec) ; then
     _altivec_gcc_flags="-maltivec -mabi=altivec"
     # check if <altivec.h> should be included
-    def_altivec_h='#undef HAVE_ALTIVEC_H'
     cat > $TMPC << EOF
 #include <altivec.h>
 int main(void) { return 0; }



More information about the MPlayer-cvslog mailing list