1
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 04:44:32 +01:00

altivec support under netbsd, patch by Matthew Green

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12142 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2004-04-06 16:13:52 +00:00
parent 1d497e2d82
commit e6b6bc90ed

12
configure vendored

@ -878,6 +878,18 @@ EOF
_altivec=yes
fi
fi
# only gcc 3.4 works reliably with altivec code under netbsd
if netbsd ; then
case $cc_version in
2*|3.0*|3.1*|3.2*|3.3*)
;;
*)
if [ `sysctl -n machdep.altivec` -eq 1 ]; then
_altivec=yes
fi
;;
esac
fi
if test "$_altivec" = yes; then
echores "$proc altivec"
else