diff --git a/configure b/configure index 1081d75272..d3663a8abe 100755 --- a/configure +++ b/configure @@ -872,6 +872,11 @@ EOF _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