-
Notifications
You must be signed in to change notification settings - Fork 9
/
gwenhywfar-config.in.in
77 lines (75 loc) · 2.5 KB
/
gwenhywfar-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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# $Id$
# Author of this file: Martin Preuss<[email protected]>
result=""
for d in $*; do
case $d in
--includes)
result="$result `@PKG_CONFIG@ --cflags gwenhywfar`"
;;
--libraries)
result="$result `@PKG_CONFIG@ --libs gwenhywfar`"
;;
--bindir)
result="$result `@PKG_CONFIG@ --variable=bindir gwenhywfar`"
;;
--headers)
result="`$result @PKG_CONFIG@ --variable=headerdir gwenhywfar`"
;;
--plugins)
result="$result `@PKG_CONFIG@ --variable=plugindir gwenhywfar`"
;;
--vmajor)
result="$result `@PKG_CONFIG@ --variable=vmajor gwenhywfar`"
;;
--vminor)
result="$result `@PKG_CONFIG@ --variable=vminor gwenhywfar`"
;;
--vpatchlevel)
result="$result `@PKG_CONFIG@ --variable=vpatchlevel gwenhywfar`"
;;
--vbuild)
result="$result `@PKG_CONFIG@ --variable=vbuild gwenhywfar`"
;;
--vtag)
result="$result `@PKG_CONFIG@ --variable=vtag gwenhywfar`"
;;
--vstring)
result="$result `@PKG_CONFIG@ --variable=vstring gwenhywfar`"
;;
--has-crypt)
# Keep this argument in order not to completely break
# the old gwenhywfar.m4 macro.
result="This argument is obsolete. See $0 --help for current arguments."
;;
--has-ui)
# Keep this argument in order not to completely break
# the old gwenhywfar.m4 macro.
result="This argument is obsolete. See $0 --help for current arguments."
;;
--libraries++)
# Keep this argument in order not to completely break
# the old gwenhywfar.m4 macro.
result="This argument is obsolete. See $0 --help for current arguments."
;;
--libraries-ui)
# Keep this argument in order not to completely break
# the old gwenhywfar.m4 macro.
result="This argument is obsolete. See $0 --help for current arguments."
;;
*)
echo "Usage:"
echo "$0 --includes gives you the include flags"
echo "$0 --libraries gives you the library flags"
echo "$0 --bindir returns the folder for binary tools"
echo "$0 --headers gives you the location of the header files"
echo "$0 --vmajor gives the major version of LibGwenhywfar"
echo "$0 --vminor gives the minor version of LibGwenhywfar"
echo "$0 --vpatchlevel gives the patchlevel of LibGwenhywfar"
echo "$0 --vbuild gives the build number of LibGwenhywfar"
echo "$0 --vtag gives the tag of LibGwenhywfar (cvs, beta or stable)"
echo "$0 --vstring returns a version string"
exit 1
;;
esac
done
echo $result