#!/bin/sh

PATH="/usr/bin:/usr/sbin:${PATH}"
export PATH

if [ -f /usr/openwin/lib/xil/config ]; then
   echo "XIL 1.3 is available on system..."
else
   echo "System must have XIL 1.2 or earlier..."
fi

OS=`uname -r | sed 's/^5\.//'`
PKGOSVER=`echo $VERSION | sed s/VERSION=// | sed 's/^5\.//'`

if [ $OS -lt $PKGOSVER ]; then
   echo "==================================================================="
   echo "This version of the product can only be installed under SunOS 5.6 "
   echo "or later.  Current OS detected as SunOS 5.$OS"
   echo "==================================================================="
   exit 1
fi

exit 0


