# HG changeset patch # User alex # Date 1057073587 0 # Node ID 31ec4f475845f234fb5d9284b201c422d31cb2ca # Parent 7b358cd956fde27e9404e5ba3428f65c7d9e77b7 automatic altivec support detection on linux diff -r 7b358cd956fd -r 31ec4f475845 configure --- a/configure Tue Jul 01 09:29:31 2003 +0000 +++ b/configure Tue Jul 01 15:33:07 2003 +0000 @@ -872,6 +872,11 @@ _march='-mcpu=750' _mcpu='-mtune=750' fi + if linux ; then + if test -n "`$_cpuinfo | grep altivec`"; then + _altivec=yes + fi + fi if darwin ; then if [ `sysctl -n hw.vectorunit` -eq 1 ]; then _altivec=yes