[MPlayer-cvslog] CVS: main configure,1.999,1.1000

Nicolas Plourde nicolas.plourde at sympatico.ca
Thu May 12 19:57:02 CEST 2005


On 10-May-05, at 8:05 AM, Jindrich Makovicka wrote:
>
>
> shouldn't be then the altivec.h check modified to distinguish the  
> "bad"
> altivec.h instead of adding such a hack?
>
>

Here is my better solution. Apple gcc until 4.0 was only using Apple  
altivec but
now they include both in gcc 4.0. Apple altivec is enable with the - 
faltivec we are
using in mplayer, gnu altivec is anbled simply with -mcpu=G4/G5/any  
altivec equiped cpu.

For backward compatibility reason we are stuck with -faltivec but  
apple added a define when using this flag
__APPLE_ALTIVEC__. libmpeg2 was expecting altivec.h to be only  
present on gnu compiler and used
HAVE_ALTIVEC_H to choose altivec path. this is not working for apple  
gcc 4.0 since altivec.h is there
but apple altivec path is used in mplayer. here is my patch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 2847 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/attachments/20050512/e30bced9/attachment.obj>
-------------- next part --------------

====
Nicolas Plourde <nicolas.plourde at sympatico.ca>



More information about the MPlayer-cvslog mailing list