#!/bin/sh prefix=@prefix@ exec_prefix=@exec_prefix@ help () { echo "Usage: otflib-config [--version | --libs | --cflags ]" } if test $# -eq 0; then help 1>&2 exit 0 fi case $1 in --version) echo "@PACKAGE_VERSION@";; --libs) if test "@libdir@" != "/usr/lib"; then echo "-L@libdir@ -lotf" else echo "-lotf" fi;; --cflags) if test "@includedir@" != "/usr/include"; then echo "-I@includedir@" fi;; *) help exit 1;; esac