#!/bin/sh

# Verify the environment is safe for building this package.

findexe()
{ oldifs="$IFS"
  IFS=:
  for d in $PATH; do
    if [ -x $d/$1 ]; then
       IFS="$oldifs"
       return 0
    fi
  done
  IFS="$oldifs"
  return 1
}

# We should also checj javac is part if the SUN SDK of the desired
# version.

if findexe javac; then
  exit 0
else
  exit 1
fi
