#! /bin/sh
# $Id: aqdtaus-config.in.in,v 1.2 2005/08/17 00:10:27 aquamaniac Exp $
# Author of this file: Martin Preuss<martin@libchipcard.de>

prefix="/usr"
exec_prefix="/usr"
libdir="/usr/lib64"
datadir="/usr/share"

result=""

for d in $*; do
    case $d in
	--includes)
	    result="$result -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/qt -I${prefix}/include"
	    ;;
	--libraries)
	    result="$result -L${libdir} /home/users/builder/rpm/BUILD/aqbanking-1.6.2/src/plugins/backends/aqdtaus/plugin/libaqdtaus.la"
	    ;;
	--plugins)
	    result="$result ${libdir}/aqdtaus/plugins/1"
	    ;;
	--data)
	    result="$result ${datadir}/aqdtaus"
	    ;;
	--vmajor)
	    result="$result 1"
	    ;;
	--vminor)
	    result="$result 6"
	    ;;
	--vpatchlevel)
	    result="$result 2"
	    ;;
	--vbuild)
	    result="$result 0"
	    ;;
	--vtag)
	    result="$result stable"
	    ;;
        --vstring)
	    result="$result 1.6.2"
            ;;
	*)
	    echo "Usage:"
	    echo "$0 --includes gives you the include flags"
	    echo "$0 --libraries gives you the library flags"
	    echo "$0 --vmajor gives the major version of AqDTAUS"
	    echo "$0 --vminor gives the minor version of AqDTAUS"
	    echo "$0 --vpatchlevel gives the patchlevel of AqDTAUS"
	    echo "$0 --vbuild gives the build number of AqDTAUS"
	    echo "$0 --vtag gives the tag of AqDTAUS (cvs, beta or stable)"
	    echo "$0 --vstring returns a version string"
	    exit 1
	    ;;
    esac
done
echo $result
