#!/bin/sh

# This file tests for the existence of srclib.kern in the ./sources
# subdirectory.

# This file is part of the SIMATH computer algebra system.

echo "test_kern: Checking for srclib.kern ..."

if test -f sources/srclib.kern
then
	echo ""
	echo "test_kern: sources/srclib.kern found."
	echo "test_kern: Compiling SIMATH ..."
	echo ""
else
	echo ""
	echo "test_kern: Could not find sources/srclib.kern."
	echo "test_kern: You must get sources/srclib.kern from"
	echo "test_kern:         simath@math.uni-sb.de"
	echo "test_kern: or from"
	echo "test_kern:         mail-server@emmy.math.uni-sb.de."
	echo "test_kern: PLEASE READ THE FILE INSTALLATION."
	echo ""
	exit 1
fi
