*** empty log message ***
[m17n/libotf.git] / otflib-config.in
1 #!/bin/sh
2
3 prefix=@prefix@
4 exec_prefix=@exec_prefix@
5
6 help ()
7 {
8   echo "Usage: otflib-config [--version | --libs | --cflags ]"
9 }
10
11 if test $# -eq 0; then
12   help 1>&2
13   exit 0
14 fi
15
16 case $1 in
17 --version)
18   echo "@PACKAGE_VERSION@";;
19
20 --libs)
21   if test "@libdir@" != "/usr/lib"; then
22     echo "-L@libdir@ -lotf"
23   else
24     echo "-lotf"
25   fi;;
26
27 --cflags)
28   if test "@includedir@" != "/usr/include"; then
29     echo "-I@includedir@"
30   fi;;
31
32 *)
33     help
34     exit 1;;
35 esac