1#!/bin/sh 2 3prefix=@prefix@ 4exec_prefix=@exec_prefix@ 5 6usage() 7{ 8 cat <<EOF 9Usage: ming-config [OPTIONS] 10Options: 11 [--help] 12 [--version] 13 [--libs] 14 [--cflags] 15 [--bindir] 16EOF 17 exit $1 18} 19if test $# -eq 0; then 20 usage 1 1>&2 21fi 22 23while test $# -gt 0; do 24 25 case $1 in 26 --help) 27 usage 0 28 ;; 29 --version) 30 echo "@MING_VERSION@" 31 ;; 32 --cflags) 33 echo -I@includedir@ 34 ;; 35 --libs) 36 echo -L@libdir@ @ZLIB@ @MATHLIB@ @GIFLIB@ @PNGLIB@ -lming 37 ;; 38 --bindir) 39 echo @bindir@ 40 ;; 41 *) 42 usage 1 1>&2 43 ;; 44 esac 45 shift 46 47done 48 49