1#!/bin/sh
2
3# We use this script to check whether or not the processor supports
4# Power ISA 2.07.
5DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
6LD_SHOW_AUXV=1 $DIR/true | grep  arch_2_07 > /dev/null 2>&1
7
8if [ "$?" -ne "0" ]; then
9	exit 1
10else
11	exit 0
12fi
13