diff options
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 |