check_vmx_cap revision e739ac0589b4fb43561f801c4faba8c1b89f8680
1#!/bin/sh
2
3# We use this script to check whether or not the processor supports VMX (aka "Altivec").
4
5LD_SHOW_AUXV=1 /bin/true | grep altivec > /dev/null 2>&1
6if [ "$?" -ne "0" ]; then
7	exit 1
8else
9	exit 0
10fi
11
12