summaryrefslogtreecommitdiffstats
path: root/deskutils/conduit/files/patch-configure
blob: c7c260c8802fd39ed7076e9868f051e0ae2d7072 (plain) (blame)
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
--- configure.orig  2008-03-18 09:06:41.000000000 -0400
+++ configure   2008-03-18 10:48:08.000000000 -0400
@@ -6447,24 +6447,8 @@
 v=`echo 0.9.0 | sed -e "s/\./,/g"`
 { echo "$as_me:$LINENO: checking for 0.9.0 of goocanvas" >&5
 echo $ECHO_N "checking for 0.9.0 of goocanvas... $ECHO_C" >&6; }
-prog="
-import goocanvas
-ver = goocanvas.pygoocanvas_version
-
-if type(ver) == str:
-   ver = ver.split('.')
-   ver = map(int,ver)
-   ver = tuple(ver)
-elif type(ver) == tuple:
-   pass
-else:
-   raise Exception
-
-if ver >= ($v):
-   print 'yes'
-"
-out=`$PYTHON -c "$prog"`
-if test "x$out" == xyes; then
+out=yes
+if test "x$out" = xyes; then
   { echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }
   else
@@ -6496,7 +6480,7 @@
    print 'yes'
 "
 out=`$PYTHON -c "$prog"`
-if test "x$out" == xyes; then
+if test "x$out" = xyes; then
   { echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }
   else