Altivec misdetected on Debian
Altivec is mis-detected on Debian powerpc:
checking if gcc -std=gnu99 groks 3D Now! inline assembly... no
checking if gcc -std=gnu99 groks AltiVec inline assembly... yes
checking if $CC groks AltiVec C extensions... no
checking altivec.h usability... no
checking altivec.h presence... no
checking for altivec.h... no
In VLC 2.0.8 it was detected correctly:
checking if gcc -std=gnu99 groks AltiVec inline assembly... yes
checking if $CC groks AltiVec C extensions... -maltivec
checking altivec.h usability... yes
checking altivec.h presence... yes
checking for altivec.h... yes
The attached partial patch makes VLC compile again on Debian powerpc.