summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-es-gl/configure.ac.patch
blob: 0b77ae270ae5673107d9bd201cc67363e89e2c66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ../apertium-es-gl-1.0.7/configure.ac	2009-03-11 22:22:18.000000000 +0100
+++ apertium-es-gl-1.0.7/configure.ac	2010-09-21 16:04:49.907405446 +0200
@@ -29,8 +29,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
+              ])
           ])
       ])
   ])