#!/bin/sh

usage () {
    cat <<EOF
This script is a part of dictd package.

Usage: dictd-config [OPTIONS]
Options:
  [--help]
  [--version]
  [--libs]
  [--cflags]
  [--plugindir]   Directory where plugin should be installed and searched
  [--dictdir]     Directory where dictionaries should be installed and searched
EOF
}

prefix=/usr
exec_prefix=/usr

while test $# -ne 0; do
    case $1 in
	--help)
	    usage
	    exit;;
	--version)
	    echo 1.13.3
	    exit;;
	--libs)
	    echo -L/usr/lib64
	    exit;;
	--cflags)
	    echo -I/usr/include
	    exit;;
	--plugindir)
	    echo /usr/libexec
	    exit;;
	--dictdir)
	    echo /usr/share
	    exit;;
	*)
	    echo "invalid argument $1"
	    exit 2
    esac
    shift
done

usage
