From 9b5131761205724e9f811a445657fd58638d2219 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 1 Jul 2003 15:33:07 +0000 Subject: automatic altivec support detection on linux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10358 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure') 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 -- cgit v1.2.3