Blame libotf-config.in

Packit daac2c
#!/bin/sh
Packit daac2c
# libotf-config -- helper script for libotf.
Packit daac2c
# Copyright (C) 2003, 2004
Packit daac2c
#   National Institute of Advanced Industrial Science and Technology (AIST)
Packit daac2c
#   Registration Number H15PRO167
Packit daac2c
# See the end for copying conditions.
Packit daac2c
Packit daac2c
prefix=@prefix@
Packit daac2c
exec_prefix=@exec_prefix@
Packit daac2c
Packit daac2c
help ()
Packit daac2c
{
Packit daac2c
  echo "Usage: otflib-config [--version | --libs | --cflags ]"
Packit daac2c
}
Packit daac2c
Packit daac2c
if test $# -eq 0; then
Packit daac2c
  help 1>&2
Packit daac2c
  exit 0
Packit daac2c
fi
Packit daac2c
Packit daac2c
case $1 in
Packit daac2c
--version)
Packit daac2c
  echo "@PACKAGE_VERSION@";;
Packit daac2c
Packit daac2c
--libs)
Packit daac2c
  if test "@libdir@" != "/usr/lib"; then
Packit daac2c
    echo "@FREETYPE_LD_FLAGS@ -L@libdir@ -lotf"
Packit daac2c
  else
Packit daac2c
    echo "@FREETYPE_LD_FLAGS@ -lotf"
Packit daac2c
  fi;;
Packit daac2c
Packit daac2c
--cflags)
Packit daac2c
  if test "@includedir@" != "/usr/include"; then
Packit daac2c
    echo "@FREETYPE_INC@ -I@includedir@"
Packit daac2c
  else
Packit daac2c
    echo "@FREETYPE_INC@"
Packit daac2c
  fi;;
Packit daac2c
Packit daac2c
*)
Packit daac2c
    help
Packit daac2c
    exit 1;;
Packit daac2c
esac
Packit daac2c
Packit daac2c
# Copyright (C) 2003, 2004
Packit daac2c
#   National Institute of Advanced Industrial Science and Technology (AIST)
Packit daac2c
#   Registration Number H15PRO167
Packit daac2c
Packit daac2c
# This file is part of libotf.
Packit daac2c
Packit daac2c
# Libotf is free software; you can redistribute it and/or modify it
Packit daac2c
# under the terms of the GNU Lesser General Public License as published
Packit daac2c
# by the Free Software Foundation; either version 2.1 of the License, or
Packit daac2c
# (at your option) any later version.
Packit daac2c
Packit daac2c
# Libotf is distributed in the hope that it will be useful, but WITHOUT
Packit daac2c
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
Packit daac2c
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
Packit daac2c
# License for more details.
Packit daac2c
Packit daac2c
# You should have received a copy of the GNU Lesser General Public
Packit daac2c
# License along with this library, in a file named COPYING; if not,
Packit daac2c
# write to the Free Software Foundation, Inc., 59 Temple Place, Suite
Packit daac2c
# 330, Boston, MA 02111-1307, USA.