summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-es-ca/configure.ac.patch
blob: b67902c922a02736ee5850f2f315bf0ff33443b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ../apertium-es-ca-1.2.0/configure.ac	2009-10-15 11:36:01.000000000 +0200
+++ apertium-es-ca-1.2.0/configure.ac	2010-09-21 16:02:34.987405444 +0200
@@ -27,8 +27,14 @@
               APERTIUM_VER=30
           ],
           [
-              PKG_CHECK_MODULES(APERTIUM, apertium-3.1 >= 3.1.0)
-              APERTIUM_VER=31
+              PKG_CHECK_MODULES(APERTIUM, apertium-3.1 >= 3.1.0,
+              [
+                APERTIUM_VER=31
+              ],
+              [
+                PKG_CHECK_MODULES(APERTIUM, apertium-3.2 >= 3.2.0)
+                APERTIUM_VER=32
+              ])
           ])
       ])
   ])