blob: 2c412ec51bd4229aba4dfd21533fa8a899cb3876 (
plain)
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
78
79
80
81
82
|
--- configure.in.orig 2004-12-19 20:51:41.771221552 +0930
+++ configure.in 2004-12-19 21:02:59.005777288 +0930
@@ -42,13 +42,17 @@
micro=`echo $gnupg_version | \
sed 's/^gpg (GnuPG) \([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\3/'`
- if test "$major" -eq "$req_major"; then
- if test "$minor" -eq "$req_minor"; then
- if test "$micro" -ge "$req_micro"; then
- ok="yes"
- fi
+ if test "$major" -gt "$req_major"; then
+ ok="yes"
+ elif test "$major" -eq "$req_major"; then
+ if test "$minor" -gt "$req_minor"; then
+ ok="yes"
+ elif test "$minor" -eq "$req_minor"; then
+ if test "$micro" -ge "$req_micro"; then
+ ok="yes"
fi
- fi
+ fi
+ fi
fi
if test "$ok" = "yes"; then
@@ -83,8 +87,12 @@
micro=`echo $gpgme_config_version | \
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\3/'`
- if test "$major" -eq "$req_major"; then
- if test "$minor" -eq "$req_minor"; then
+ if test "$major" -gt "$req_major"; then
+ ok="yes"
+ elif test "$major" -eq "$req_major"; then
+ if test "$minor" -gt "$req_minor"; then
+ ok="yes"
+ elif test "$minor" -eq "$req_minor"; then
if test "$micro" -ge "$req_micro"; then
ok="yes"
fi
--- configure.orig 2004-12-19 22:26:34.407687640 +0930
+++ configure 2004-12-19 22:27:24.973368792 +0930
@@ -7881,13 +8124,17 @@
micro=`echo $gnupg_version | \
sed 's/^gpg (GnuPG) \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
- if test "$major" -eq "$req_major"; then
- if test "$minor" -eq "$req_minor"; then
- if test "$micro" -ge "$req_micro"; then
- ok="yes"
- fi
+ if test "$major" -gt "$req_major"; then
+ ok="yes"
+ elif test "$major" -eq "$req_major"; then
+ if test "$minor" -gt "$req_minor"; then
+ ok="yes"
+ elif test "$minor" -eq "$req_minor"; then
+ if test "$micro" -ge "$req_micro"; then
+ ok="yes"
fi
- fi
+ fi
+ fi
fi
if test "$ok" = "yes"; then
@@ -7962,8 +8209,12 @@
micro=`echo $gpgme_config_version | \
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
- if test "$major" -eq "$req_major"; then
- if test "$minor" -eq "$req_minor"; then
+ if test "$major" -gt "$req_major"; then
+ ok="yes"
+ elif test "$major" -eq "$req_major"; then
+ if test "$minor" -gt "$req_minor"; then
+ ok="yes"
+ elif test "$minor" -eq "$req_minor"; then
if test "$micro" -ge "$req_micro"; then
ok="yes"
fi
|