|
# $Id$
|
|
# Author of this file: Martin Preuss<martin@libchipcard.de>
|
|
|
|
prefix="@prefix@"
|
|
exec_prefix="@exec_prefix@"
|
|
libdir="@libdir@"
|
|
includedir="@includedir@"
|
|
datadir="@datadir@"
|
|
|
|
result=""
|
|
|
|
for d in $*; do
|
|
case $d in
|
|
--includes)
|
|
result="$result @all_includes@ @aqofxconnect_includes@"
|
|
;;
|
|
--libraries)
|
|
result="$result @aqofxconnect_libs@"
|
|
;;
|
|
--plugins)
|
|
result="$result @aqofxconnect_plugins@"
|
|
;;
|
|
--data)
|
|
result="$result @aqofxconnect_data@"
|
|
;;
|
|
--vmajor)
|
|
result="$result @AQOFXCONNECT_VERSION_MAJOR@"
|
|
;;
|
|
--vminor)
|
|
result="$result @AQOFXCONNECT_VERSION_MINOR@"
|
|
;;
|
|
--vpatchlevel)
|
|
result="$result @AQOFXCONNECT_VERSION_PATCHLEVEL@"
|
|
;;
|
|
--vbuild)
|
|
result="$result @AQOFXCONNECT_VERSION_BUILD@"
|
|
;;
|
|
--vtag)
|
|
result="$result @AQOFXCONNECT_VERSION_TAG@"
|
|
;;
|
|
--vstring)
|
|
result="$result @AQOFXCONNECT_VERSION_MAJOR@.@AQOFXCONNECT_VERSION_MINOR@.@AQOFXCONNECT_VERSION_PATCHLEVEL@"
|
|
;;
|
|
*)
|
|
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 AqOfxConnect"
|
|
echo "$0 --vminor gives the minor version of AqOfxConnect"
|
|
echo "$0 --vpatchlevel gives the patchlevel of AqOfxConnect"
|
|
echo "$0 --vbuild gives the build number of AqOfxConnect"
|
|
echo "$0 --vtag gives the tag of AqOfxConnect (cvs, beta or stable)"
|
|
echo "$0 --vstring returns a version string"
|
|
exit 1
|
|
;;
|
|
esac
|
|
done
|
|
echo $result
|