#! /bin/sh
#
# serveez-config - utility for compiling and linking programs with Serveez
# src/serveez-config.  Generated from serveez-config.in by configure.
#
# Copyright (C) 2001 Stefan Jahn <stefan@lkcc.org>
#
# This is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this package.  If not, see <http://www.gnu.org/licenses/>.
#

option="$1"

case "$option" in

  --version | -version | -v)
	echo "0.2.2" ;;

  --ldflags | -ldflags | -l)
	echo "-L/usr/local/lib -lserveez" ;;

  --cflags | -cflags | -c)
	echo "-I/usr/local/include" ;;

  --help | -help | -h | *)
	cat <<EOF
Usage:
  serveez-config --version   - show installed Serveez version
  serveez-config --help      - show usage info (this message)
  serveez-config --ldflags   - print libraries to link with
  serveez-config --cflags    - print C compiler flags to compile with
EOF
	;;

esac
