#!/bin/sh

#
# Typical invocation of configure script
#
# Most of the case, you want to do this when configure TeX-Guy.
#


machtype=`./config.guess`

case ${machtype} in
i386-*-freebsd*)
  OPT="--prefix=/usr/local"
  ;;
*-*-linux*)
  OPT="--prefix=/usr"
  ;;
*)
  OPT="--prefix=/usr/local"
  ;;
esac


OPTION="${OPT}"

echo
echo Run configure for ${machtype}...
echo ./configure ${OPTION}
echo

rm -f config.cache 
./configure ${OPTION}


#EOF
