#! /bin/sh

##
# This file was auto-generated by genconfig on Thu Sep  8 13:35:03 2005
##

usage()
{
    cat <<EOH
Usage: xmlwrapp-config [options]
  --version   print the version number for xmlwrapp
  --libs      print the list of libraries you must use
  --cxxflags  print the C++ compiler flags to use
EOH

    exit 1
}

if test $# -eq 0; then
    usage
fi

while test $# -gt 0; do
    case "$1" in
	--version)
	    echo "0.5.0"
	    exit 0
	    ;;

	--libs)
	    echo "-L/usr/local/lib -lxsltwrapp -L/usr/local/lib -lxmlwrapp -L/usr/lib -lxslt -L/usr/lib -lexslt -L/usr/lib -lxml2 -L/usr/lib -lz -L/usr/lib -lpthread -L/usr/lib -lm"
	    ;;

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

	--cxxflags)
	    echo "-I/usr/local/include"
	    ;;

	*)
	    usage
	    ;;

    esac
    shift
done

exit 0
