#!/bin/csh #Check the type of machine, sgi or sun mips >& /dev/null if (! $status ) then set machine=sgi cp src/Makefile.sgi src/Makefile else set machine=sun cp src/Makefile.sun src/Makefile endif echo $machine > __machine echo This seems to be a $machine box... #look for perl set perle=`which perl` if ( $#perle > 1 ) then echo Perl does not exist or is not in your path exit else echo \#\!$perle > __perlpath endif #look for gnuplot set gnue=`which gnuplot` if ( $#gnue > 1 ) then echo Gnuplot does not exist or is not in your path echo \$gnuplot=0\; > __gnuplot else echo \$gnuplot=1\; > __gnuplot endif