#!/bin/sh
#
# Copyright (C) 2004, 2005 Bojan Smojver, Rexursive
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public Licence as published by the Free
# Software Foundation; either version 2 of the Licence, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public Licence for
# more details.
#
# You should have received a copy of the GNU General Public Licence along
# with this program; if not, write to the Free Software Foundation, Inc., 59
# Temple Place, Suite 330, Boston, MA 02111-1307 USA
# 

prefix="/usr"
exec_prefix="/usr"
bindir="/usr/bin"
libdir="/usr/lib64"
libexecdir="/usr/lib64/apache"
includedir="/usr/include"
docdir="/usr/share/doc/mod_spin-1.0.12"

USAGE="usage: `basename $0` --[prefix|bindir|libdir|libexecdir|includedir|docdir]"

if test $# -eq 0; then
  echo "$USAGE"
  exit 1
fi

while test $# -gt 0; do
  case "$1" in 
    --prefix)
      echo "$prefix"
    ;;
    --bindir)
      echo "$bindir"
    ;;
    --libdir)
      echo "$libdir"
    ;;
    --libexecdir)
      echo "$libexecdir"
    ;;
    --includedir)
      echo "$includedir"
    ;;
    --docdir)
      echo "$docdir"
    ;;
    *)
      echo "$USAGE" 
      exit 1
    ;;
  esac
  shift
done

exit 0
