comparison configure @ 12141:fd203b7df912

altivec support under netbsd, patch by Matthew Green
author alex
date Tue, 06 Apr 2004 16:13:52 +0000
parents c3cce8454ee5
children 77ff303c0eaa
comparison
equal deleted inserted replaced
12140:9eed12b9b242 12141:fd203b7df912
875 _altivec=yes 875 _altivec=yes
876 fi 876 fi
877 if [ `sysctl -n hw.optional.altivec` -eq 1 ]; then 877 if [ `sysctl -n hw.optional.altivec` -eq 1 ]; then
878 _altivec=yes 878 _altivec=yes
879 fi 879 fi
880 fi
881 # only gcc 3.4 works reliably with altivec code under netbsd
882 if netbsd ; then
883 case $cc_version in
884 2*|3.0*|3.1*|3.2*|3.3*)
885 ;;
886 *)
887 if [ `sysctl -n machdep.altivec` -eq 1 ]; then
888 _altivec=yes
889 fi
890 ;;
891 esac
880 fi 892 fi
881 if test "$_altivec" = yes; then 893 if test "$_altivec" = yes; then
882 echores "$proc altivec" 894 echores "$proc altivec"
883 else 895 else
884 echores "$proc" 896 echores "$proc"