#!/bin/sh # # Return information about the local PDFlib installation # # $Id: pdflib-config.in,v 1.10 2001/04/12 13:33:05 tm Exp $ # installation directories prefix=@CLIENT_BASEDIR@ exec_prefix=${prefix} libdir=${exec_prefix}/lib/amd64 includedir=${prefix}/include bindir=${exec_prefix}/bin usage() { cat <&2 fi while test $# -gt 0; do case "$1" in -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac case $1 in --bindings) echo c cpp java ;; --libdir) echo $libdir ;; --includedir) echo $includedir ;; --version) echo 7.0.1 ;; --majorversion) echo 7 ;; --minorversion) echo 0 ;; --pdi) echo no ;; --revision) echo 1 ;; --libversion) echo 6:1:0 ;; --libs|--ldflags) echo -L${exec_prefix}/lib -lpdf -lm ;; --cflags|--includes) echo -I${prefix}/include ;; --all) echo "PDFlib 7.0.1" echo "bindings: c cpp java" echo "includedir: $includedir" echo "libdir: $libdir" echo "libversion: 6:1:0" echo "pdi: no" echo "ldflags: -L${exec_prefix}/lib -lpdf -lm" echo "cflags: -I${prefix}/include" ;; *) usage 1 1>&2 ;; esac shift done