#!/bin/sh

# This file evaluates the results of the ./config.guess script. It checks
# if the host is something like a SPARCstation 2 running SunOS 4.1.x. It
# removes the C version of sprod() on SPARCstations 2 running SunOS 4.1.x
# and the assembly language version of sprod() on every other platform.

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

if fgrep -s "sparc-sun-sunos4.1" ../hosttype
then 
	echo ass_sparc: removing lib_arith1.dir/sprod.S
	rm -f lib_arith1.dir/sprod.S
else
	echo ass_sparc: removing lib_arith1.dir/sprod.s
	rm -f lib_arith1.dir/sprod.s
fi
