#!/usr/bin/sh
#
# libsent configuration result reporter
#
# "libsent-config --cflags" generates C defines, and
# "libsent-config --libs" generates libraries needed for compile with
# the sentlib
#
# by Doshita Lab. Speech Group, Kyoto University  1991-2000
# by Shikano Lab. Speech Group, NAIST 2002

#
# ripped from gtk's gtk-config.in
#
# $Id: libjulius-config-dist.in,v 1.1 2008/10/02 15:01:59 sumomo Exp $
#

#
# libjulius-config-dist.  Generated from libjulius-config-dist.in by configure.
#

version="\
Julius/Julian library rev.4.6"
usage="\
Usage: libjulius-config [--libs] [--cflags] [--info] [--version]"

prefix="/usr"
exec_prefix="/usr"

if test $# -eq 0; then
      echo "${usage}" 1>&2
      exit 1
fi

while test $# -gt 0; do
    case "$1" in
    -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
    *) optarg= ;;
    esac

    case $1 in
	--cflags)
	    echo -I/usr/include 
	    ;;
	--libs)
	    echo -L/usr/lib -ljulius -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes    -lpthread
	    ;;
	--version)
	    echo "${version}"
	    ;;
        *)
	    echo "${usage}" 1>&2
	    exit 1
	    ;;
    esac
    shift
done

echo

exit 0
