forked from aqbanking/aqbanking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aqbanking-config.in.in
56 lines (53 loc) · 1.52 KB
/
aqbanking-config.in.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# $Id$
# Author of this file: Martin Preuss<martin@libchipcard.de>
result=""
for d in $*; do
case $d in
--includes)
result="$result `@PKG_CONFIG@ --cflags aqbanking`"
;;
--libraries)
result="$result `@PKG_CONFIG@ --libs aqbanking`"
;;
--libraries++)
result="$result "
;;
--plugins)
result="$result `@PKG_CONFIG@ --variable=plugindir aqbanking`"
;;
--data)
result="$result `@PKG_CONFIG@ --variable=pkgdatadir aqbanking`"
;;
--vmajor)
result="$result `@PKG_CONFIG@ --variable=vmajor aqbanking`"
;;
--vminor)
result="$result `@PKG_CONFIG@ --variable=vminor aqbanking`"
;;
--vpatchlevel)
result="$result `@PKG_CONFIG@ --variable=vpatchlevel aqbanking`"
;;
--vbuild)
result="$result `@PKG_CONFIG@ --variable=vbuild aqbanking`"
;;
--vtag)
result="$result `@PKG_CONFIG@ --variable=vtag aqbanking`"
;;
--vstring)
result="$result `@PKG_CONFIG@ --variable=vstring aqbanking`"
;;
*)
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 AqBanking"
echo "$0 --vminor gives the minor version of AqBanking"
echo "$0 --vpatchlevel gives the patchlevel of AqBanking"
echo "$0 --vbuild gives the build number of AqBanking"
echo "$0 --vtag gives the tag of AqBanking (cvs, beta or stable)"
echo "$0 --vstring returns a version string"
exit 1
;;
esac
done
echo $result