diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-04-06 16:13:52 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-04-06 16:13:52 +0000 |
commit | e6b6bc90edaf7d5008eaee00f4eed570f3db1750 (patch) | |
tree | 6d3d69d16cc9fd9560abcdb1e86f282d7bf271aa /configure | |
parent | 1d497e2d826ef866bfdb7d2b6a0a8884b2164deb (diff) | |
download | mpv-e6b6bc90edaf7d5008eaee00f4eed570f3db1750.tar.bz2 mpv-e6b6bc90edaf7d5008eaee00f4eed570f3db1750.tar.xz |
altivec support under netbsd, patch by Matthew Green
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12142 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |