changeset 15396:3bf744b98095

do not define HAVE_ALTIVEC_H on osx with gcc4
author nplourde
date Tue, 10 May 2005 00:57:43 +0000
parents 1f7fc4c588e3
children d92760aca511
files configure
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue May 10 00:54:48 2005 +0000
+++ b/configure	Tue May 10 00:57:43 2005 +0000
@@ -3220,6 +3220,9 @@
     _aomodules="macosx $_aomodules"
     _vosrc="$_vosrc vo_quartz.c"
     _vomodules="quartz $_vomodules"
+    if test "$_cc_major" -ge "4" ; then
+      _def_altivec_h='#undef HAVE_ALTIVEC_H'
+    fi
   else
     _macosx=no
     _def_macosx='#undef MACOSX'