#!/bin/sh

usage="usage: rep-config [--version] [--libs] [--cflags] [--execdir] [--lispdir]"

if test $# -eq 0; then
      echo "${usage}" 1>&2
      exit 1
fi

while test $# -gt 0; do
  case $1 in
    --version)
      echo "0.16.2"
      ;;
    --cflags)
      echo "-I/usr/local/include -I/usr/local/libexec/rep/sparc64-unknown-openbsd4.4"
      ;;
    --libs)
      echo "-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lrep -L/usr/local/lib -lintl -liconv  -lm"
      ;;
    --execdir)
      echo "/usr/local/libexec/rep/sparc64-unknown-openbsd4.4"
      ;;
    --lispdir)
      echo "/usr/local/share/rep/site-lisp"
      ;;
    *)
      echo "${usage}" 1>&2
      exit 1
      ;;
  esac
  shift
done
