*** empty log message ***
[m17n/libotf.git] / libotf-config.in
1 #!/bin/sh
2 # libotf-config -- helper script for libotf.
3 # Copyright (C) 2003, 2004
4 #   National Institute of Advanced Industrial Science and Technology (AIST)
5 #   Registration Number H15PRO167
6 # See the end for copying conditions.
7
8 prefix=@prefix@
9 exec_prefix=@exec_prefix@
10
11 help ()
12 {
13   echo "Usage: otflib-config [--version | --libs | --cflags ]"
14 }
15
16 if test $# -eq 0; then
17   help 1>&2
18   exit 0
19 fi
20
21 case $1 in
22 --version)
23   echo "@PACKAGE_VERSION@";;
24
25 --libs)
26   if test "@libdir@" != "/usr/lib"; then
27     echo "@FREETYPE_LD_FLAGS@ -L@libdir@ -lotf"
28   else
29     echo "@FREETYPE_LD_FLAGS@ -lotf"
30   fi;;
31
32 --cflags)
33   if test "@includedir@" != "/usr/include"; then
34     echo "@FREETYPE_INC@ -I@includedir@"
35   else
36     echo "@FREETYPE_INC@"
37   fi;;
38
39 *)
40     help
41     exit 1;;
42 esac
43
44 # Copyright (C) 2003, 2004
45 #   National Institute of Advanced Industrial Science and Technology (AIST)
46 #   Registration Number H15PRO167
47
48 # This file is part of libotf.
49
50 # Libotf is free software; you can redistribute it and/or modify it
51 # under the terms of the GNU Lesser General Public License as published
52 # by the Free Software Foundation; either version 2.1 of the License, or
53 # (at your option) any later version.
54
55 # Libotf is distributed in the hope that it will be useful, but WITHOUT
56 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
57 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
58 # License for more details.
59
60 # You should have received a copy of the GNU Lesser General Public
61 # License along with this library, in a file named COPYING; if not,
62 # write to the Free Software Foundation, Inc., 59 Temple Place, Suite
63 # 330, Boston, MA 02111-1307, USA.