#!/bin/sh
#
# Configure script for myththemes
#

prefix="/usr/local"

for opt do
  case "$opt" in
  --prefix=*) prefix=`echo $opt | cut -d '=' -f 2`
  ;;
  esac
done

if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
cat << EOF

Usage:   configure [options]
Options: [defaults in brackets after descriptions]
Generic options:
  --prefix=PREFIX          MythTV install location PREFIX [$prefix]"
  --help                   print this message
EOF
exit 1
fi

# bring in mythtv config
rm -f mythconfig.mak
ln -s $prefix/include/mythtv/mythconfig.mak mythconfig.mak

qmake myththemes.pro
